User Tools

Site Tools


harddrive_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
harddrive_setup [2011/04/21 01:10] 192.168.2.20harddrive_setup [2021/02/01 05:55] (current) – external edit 127.0.0.1
Line 29: Line 29:
  
   mdadm --readwrite /dev/md/md0    mdadm --readwrite /dev/md/md0 
 +  
 +  * Update /etc/mdadm/mdadm.conf
 +
 +  mdadm --examine --scan >> /etc/mdadm/mdadm.conf
  
   * Create an LVM2 logical block device on top of this RAID:   * Create an LVM2 logical block device on top of this RAID:
  
-  pgcreate /dev/md/md0+  pvcreate /dev/md/md0
   vgcreate test /dev/md/md0   vgcreate test /dev/md/md0
   lvcreate -l 100%VG -n root test   lvcreate -l 100%VG -n root test
Line 57: Line 61:
  
 blkid - lists uuids of block devices, could be useful for configuring grub. blkid - lists uuids of block devices, could be useful for configuring grub.
 +grub-mkdevicemap - could be necessary if you add more harddrives and want to install grub in the new harddrives.
  
  
  
      
harddrive_setup.1303348240.txt.gz · Last modified: 2021/02/01 05:55 (external edit)