Re: lug-bg: Lilo + LVM + RAID
- Subject: Re: lug-bg: Lilo + LVM + RAID
- From: velin@email.domain.hidden (Alexander Velin)
- Date: Thu, 24 Jul 2003 13:25:26 +0300 (EEST)
On Thu, 24 Jul 2003, Tsvetin Vasilev wrote:
<em class="quotelev1">> Zdrawej grupa,
<em class="quotelev1">>
<em class="quotelev1">> Znachi opitwam se da si kacha root-a na LVM, koeto e vyrhu RAID, wsichko
<em class="quotelev1">> minawa just fine, samo liloto
<em class="quotelev1">> me pobyrkwa sys syobshtenie za towa che map file triabwa da mu e wyrhu
<em class="quotelev1">> boot partishyna
<em class="quotelev1">> znachi w lilo-to sym napisal:
<em class="quotelev1">> boot=/dev/md0
<em class="quotelev1">> raid-extra-boot="/dev/hda,/dev/hdb"
<em class="quotelev1">> root=/dev/disk/root
<em class="quotelev1">>
<em class="quotelev1">> Shte sym mnogo blagodaren za malko nasoka ili pyk conf file na
<em class="quotelev1">> raboteshto lilo :))
lilo íå ðàçáèðà îò lvm. /boot òðÿáâà äà òè å èçâúí lvm-a.
ïðèìåð (íå ìíîãî äîáúð, íî ïîðàäè íàñëåäñòâî, ìàøèíàòà èçãëåæäà òàêà):
hde: attached ide-disk driver.
hde: host protected area => 1
hde: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63,
UDMA(100)
hdf: attached ide-disk driver.
hdf: host protected area => 1
hdf: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63,
UDMA(100)
hdg: attached ide-disk driver.
hdg: host protected area => 1
hdg: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63,
UDMA(100)
hdh: attached ide-disk driver.
hdh: host protected area => 1
hdh: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=155061/16/63,
UDMA(100)
hdb: attached ide-cdrom driver.
hdb: ATAPI 40X DVD-ROM drive, 512kB Cache, UDMA(33)
hde: [PTBL] [9729/255/63] hde1 hde2 hde3 hde4 < hde5 hde6 hde7 hde8 >
hdf: hdf1
hdg: [PTBL] [9729/255/63] hdg1
hdh: [PTBL] [9729/255/63] hdh1
utumno:~# vgdisplay vg00 -v
--- Volume group ---
VG Name vg00
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 256
Cur LV 1
Open LV 1
MAX LV Size 511.98 GB
Max PV 256
Cur PV 3
Act PV 3
VG Size 216.96 GB
PE Size 8 MB
Total PE 27771
Alloc PE / Size 27520 / 215 GB
Free PE / Size 251 / 1.96 GB
VG UUID 0OlzMJ-xLD9-r8zL-kMQi-0IgW-wJ98-7NN5L9
--- Logical volume ---
LV Name /dev/vg00/lvol1
VG Name vg00
LV Write Access read/write
LV Status available
LV # 1
# open 1
LV Size 215 GB
Current LE 27520
Allocated LE 27520
Allocation next free
Read ahead sectors 1024
Block device 58:0
<p>--- Physical volumes ---
PV Name (#) /dev/hdg1 (3)
PV Status available / allocatable
Total PE / Free PE 9538 / 251
PV Name (#) /dev/hde8 (1)
PV Status available / allocatable
Total PE / Free PE 8695 / 0
PV Name (#) /dev/hdf1 (2)
PV Status available / allocatable
Total PE / Free PE 9538 / 0
utumno:~# mount
/dev/hde2 on / type ext3 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hde1 on /boot type ext3 (rw)
/dev/hde5 on /tmp type ext3 (rw,nosuid)
/dev/hde6 on /usr type ext3 (rw)
/dev/hde7 on /var type ext3 (rw)
/dev/vg00/lvol1 on /data type ext2 (rw,noexec,nosuid)
utumno:/boot# ll
total 2823
drwxr-xr-x 3 root root 1024 Jul 12 17:46 .
drwxr-xr-x 21 root root 4096 Jul 12 17:33 ..
-rw-r--r-- 1 root root 559088 Jul 12 16:33
System.map-2.4.18-bf2.4
-rw-r--r-- 1 root root 467071 Jul 12 17:46
System.map-2.4.22-pre5
-rw-r--r-- 1 root root 7988 Apr 13 2002 boot-bmp.b
-rw-r--r-- 1 root root 6204 Apr 13 2002 boot-compat.b
-rw-r--r-- 1 root root 7964 Apr 13 2002 boot-menu.b
-rw-r--r-- 1 root root 6204 Apr 13 2002 boot-text.b
-rw-r--r-- 1 root root 512 Jul 12 16:43 boot.2100
lrwxrwxrwx 1 root root 11 Jul 12 16:43 boot.b ->
boot-menu.b
-rw-r--r-- 1 root root 728 Apr 13 2002 chain.b
-rw-r--r-- 1 root root 16984 Jul 12 16:33
config-2.4.18-bf2.4
-rw-r--r-- 1 root root 14258 Jul 12 17:46 config-2.4.22-pre5
drwx------ 2 root root 12288 Jul 12 16:30 lost+found
-rw------- 1 root root 23040 Jul 12 17:46 map
-rw-r--r-- 1 root root 656 Apr 13 2002 os2_d.b
-rw-r--r-- 1 root root 978742 Jul 12 16:33
vmlinuz-2.4.18-bf2.4
-rw-r--r-- 1 root root 758657 Jul 12 17:46
vmlinuz-2.4.22-pre5
utumno:/boot# cat /etc/lilo.conf
lba32
disk=/dev/hde
bios=0x80
boot=/dev/hde
root=/dev/hde2
# compact
install=/boot/boot-menu.b
map=/boot/map
password= ***************
delay=20
vga=normal
# append=""
default=Utumno
image=/boot/vmlinuz-2.4.22-pre5
label=Utumno
read-only
restricted
image=/boot/vmlinuz-2.4.18-bf2.4
label=lx2418bf24
read-only
restricted
Äàëå÷ ñúì îò ìèñúëòà ÷å å äîáúð ïðèìåð, íî áè ñâúðøèë ðàáîòà êàòî çà
íà÷àëî ìàé..
happy hacking,
velin
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|