number of cylinders for this drive is 2434
Is not wrong, but is > than 1024, and sometimes could cause problems with:
1/ software which works in the start (eg. old versions of lilo)
2/ boot software or partitioning of others SO ( eg. FDISK of DOS, FDISK of OS/2)
..
..
..
Order (m for help):
--------------------------------------------------------
Another outputs
--------------------------------------------------------
login as: root
root@192.168.1.4's password:
Last login: Wed Feb 28 10:05:57 2007 from 192.168.1.6
[root@servidor ~]# df
S.ficheros Bloques de 1K Usado Dispon Uso% Montado en
/dev/mapper/main-root
2322240 2322240 0 100% /
/dev/md1 101018 25268 70534 27% /boot
none 257248 0 257248 0% /dev/shm
[root@servidor ~]#
---------------------------------------------------------------------
login as: root
root@192.168.1.4's password:
Last login: Wed Feb 28 10:50:46 2007 from 192.168.1.6
[root@servidor ~]# cat /proc/mdstat
Personalities : [raid1]
md2 : active raid1 hdc2[0]
3060288 blocks [2/1] [U_]
md1 : active raid1 hdc1[0]
104320 blocks [2/1] [U_]
unused devices: <none>
[root@servidor ~]#
-------------------------------------------------------------------------
login as: root
root@192.168.1.4's password:
Last login: Wed Feb 28 11:09:32 2007 from 192.168.1.6
[root@servidor ~]# vi /etc/mdadm.conf
# mdadm.conf written out by anaconda
DEVICE partitions
MAILADDR root
ARRAY /dev/md2 super-minor=2
ARRAY /dev/md1 super-minor=1
------------------------------------------------------------------------
login as: root
root@192.168.1.4's password:
Last login: Wed Feb 28 11:28:44 2007 from 192.168.1.6
[root@servidor ~]# pvdisplay
--- Physical volume ---
PV Name /dev/md2
VG Name main
PV Size 2,91 GB / not usable 0
Allocatable yes
PE Size (KByte) 32768
Total PE 93
Free PE 1
Allocated PE 92
PV UUID CvfpHA-t1OV-EHf2-kri0-FQUY-HumO-iwb2AQ
[root@servidor ~]# vgdisplay
--- Volume group ---
VG Name main
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 3
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 2
Open LV 2
Max PV 0
Cur PV 1
Act PV 1
VG Size 2,91 GB
PE Size 32,00 MB
Total PE 93
Alloc PE / Size 92 / 2,88 GB
Free PE / Size 1 / 32,00 MB
VG UUID FAbg6s-ax1v-Rsv9-u2Z1-MXrR-iMf1-kO7YTH
[root@servidor ~]# lvdisplay
--- Logical volume ---
LV Name /dev/main/root
VG Name main
LV UUID g6Yoko-1oIa-DOW3-XCaC-RcPM-lLTT-LdDpqv
LV Write Access read/write
LV Status available
# open 1
LV Size 2,25 GB
Current LE 72
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
--- Logical volume ---
LV Name /dev/main/swap
VG Name main
LV UUID e5g4GC-3TO7-dLlY-zWDC-3O0r-6q4E-24TZa3
LV Write Access read/write
LV Status available
# open 1
LV Size 640,00 MB
Current LE 20
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:1
[root@servidor ~]# umount /dev/main/root
umount: /: dispositivo ocupado
umount: /: dispositivo ocupado
[root@servidor ~]# lvextend -L+5G /dev/main/root
Extending logical volume root to 7,25 GB
Insufficient suitable allocatable extents for logical volume root: 159 more
required
[root@servidor ~]#
-----------------------------------------------------------------