bootdisk/branches/ac-2.4.27/batch-installer/ui/ui-wizard
Marcin Sztolcman
lists w urzenia.net
Pią, 3 Wrz 2004, 12:29:56 CEST
Arkadiusz Miskiewicz wrote:
>>>Jeśli masz RAID 1 softwarowy, rootfs na /dev/mdX oraz XFS jako system
>>>plików to niestety musisz mieć osobne /boot i to na dodatek z innym fsem
>>>niż XFS.
>>
>>dlaczego ? u mnie dziala. /boot nie jako osobna partycja, tylko
>>podkatalog /, wszystko na xfs i raid1 soft. budzi sie i dziala bez
>>problemow moge w razie czego podeslac wyciagi z /etc/lilo.conf, /etc/fstab,
>>/proc/mdstat i fdisk -l /dev/hd(a|c) ;) tyle ze bez lvm
>
> Wyciągnij więc - szczególnie lilo.conf i fstab.
lilo.conf:
default=ext3
#timeout=30
boot=/dev/md0
raid-extra-boot=/dev/hda,/dev/hdc
prompt
menu-title="PLD Linux"
menu-scheme="wk:kc:ck:Ck"
read-only
lba32
password="jsDhzc1"
restricted
image=/boot/vmlinuz
root=/dev/md0
label=ext3
initrd=/boot/initrd-ext3
image=/boot/vmlinuz
root=/dev/md0
label=xfs
initrd=/boot/initrd-xfs
fstab:
/dev/hda1 swap swap defaults 0 0
/dev/hdc1 swap swap defaults 0 0
/dev/md0 / xfs defaults 1 1
/dev/md1 /usr xfs defaults 1 2
/dev/md2 /var xfs defaults 1 2
/dev/md3 /home xfs defaults 1 2
/dev/md4 /root xfs defaults 1 2
/dev/md5 /tmp xfs defaults 1 2
none /proc proc defaults,gid=17 0 0
none /sys sysfs defaults,noauto 0 0
#none /proc/bus/usb usbfs defaults,noauto 0 0
none /dev devfs defaults,noauto 0 0
none /dev/pts devpts gid=5,mode=620 0 0
#none /dev/shm tmpfs defaults 0 0
/dev/fd0 /mnt/floppy auto user,noauto 0 0
/dev/cdrom /mnt/cdrom iso9660 user,noauto 0 0
/proc/mdstat:
Personalities : [raid1]
md5 : active raid1 hda8[0] hdc8[1]
497856 blocks [2/2] [UU]
md4 : active raid1 hda7[0] hdc7[1]
995904 blocks [2/2] [UU]
md3 : active raid1 hda6[0] hdc6[1]
134745088 blocks [2/2] [UU]
md2 : active raid1 hda5[0] hdc5[1]
6674880 blocks [2/2] [UU]
md1 : active raid1 hda3[0] hdc3[1]
6674880 blocks [2/2] [UU]
md0 : active raid1 hda2[0] hdc2[1]
6201024 blocks [2/2] [UU]
unused devices: <none>
fdisk -l /dev/hda:
Disk /dev/hda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 62 497983+ 82 Linux swap
/dev/hda2 * 63 834 6201090 fd Linux raid
autodetect
/dev/hda3 835 1665 6675007+ fd Linux raid
autodetect
/dev/hda4 1666 19457 142914240 5 Extended
/dev/hda5 1666 2496 6674976 fd Linux raid
autodetect
/dev/hda6 2497 19271 134745156 fd Linux raid
autodetect
/dev/hda7 19272 19395 995998+ fd Linux raid
autodetect
/dev/hda8 19396 19457 497983+ fd Linux raid
autodetect
fdisk -l /dev/hdc:
Disk /dev/hdc: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 62 497983+ 82 Linux swap
/dev/hdc2 * 63 834 6201090 fd Linux raid
autodetect
/dev/hdc3 835 1665 6675007+ fd Linux raid
autodetect
/dev/hdc4 1666 19457 142914240 5 Extended
/dev/hdc5 1666 2496 6674976 fd Linux raid
autodetect
/dev/hdc6 2497 19271 134745156 fd Linux raid
autodetect
/dev/hdc7 19272 19395 995998+ fd Linux raid
autodetect
/dev/hdc8 19396 19457 497983+ fd Linux raid
autodetect
MySZ
--
[ Marcin ``MySZ`` Sztolcman ]
[ marcin { at } urzenia { dot } net ]
[ http://mysz.ath.cx ]
Więcej informacji o liście dyskusyjnej pld-devel-pl