[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SoftRaid und LVM ?



Ralf Lehmeier <r.lehmeier@freenet.de> wrote:

> Dann würde mich noch interessieren ob ich die Platten formatieren muß. 
> Ich dachte hier an :

> /swap
> /boot
> /
> /home ( mit allen Daten )

> Doch welchen Sinn macht es überhaupt sie so aufzuteilen wenn das LVM 
> doch die Verteilung übernimmt?

Gar keine.

Tipp:

,----
| Disk /dev/sda: 500.1 GB, 500107862016 bytes
| 255 heads, 63 sectors/track, 60801 cylinders
| Units = cylinders of 16065 * 512 = 8225280 bytes
| Disk identifier: 0x10651064
|
|    Device Boot      Start         End      Blocks   Id  System
| /dev/sda1   *           1        1216     9767488+  fd  Linux raid autodetect
| /dev/sda2            1217        1702     3903795   82  Linux swap / Solaris
| /dev/sda3            1703       60801   474712717+  fd  Linux raid autodetect
|
| Disk /dev/sdb: 500.1 GB, 500107862016 bytes
| 255 heads, 63 sectors/track, 60801 cylinders
| Units = cylinders of 16065 * 512 = 8225280 bytes
| Disk identifier: 0x00000000
|
|    Device Boot      Start         End      Blocks   Id  System
| /dev/sdb1   *           1        1216     9767488+  fd  Linux raid autodetect
| /dev/sdb2            1217        1702     3903795   82  Linux swap / Solaris
| /dev/sdb3            1703       60801   474712717+  fd  Linux raid autodetect
`----

,----
| root@skuld:~# cat /proc/mdstat 
| Personalities : [linear] [raid0] [raid1] 
| md2 : active raid1 sdb3[1] sda3[0]
|       474712640 blocks [2/2] [UU]
|       bitmap: 1/227 pages [4KB], 1024KB chunk
|
| md0 : active raid1 sdb1[1] sda1[0]
|       9767424 blocks [2/2] [UU]
|       bitmap: 1/150 pages [4KB], 32KB chunk
`----


Dann / auf /dev/md0 und mittels dem üblichen Dreisprung (pvcreate,
vgcreate, lvcreate) den Rest nach /dev/md1 bzw. dann in die
Volume-Group.

S°

-- 
Sven Hartge -- professioneller Unix-Geek
Meine Gedanken im Netz: http://www.svenhartge.de/



Reply to: