[ubuntu-it] Re: LVM: estendere LV di sistema

F P zagor.fp a gmail.com
Mar 28 Feb 2006 19:47:47 GMT


> Date: Tue, 28 Feb 2006 14:45:50 +0100 (CET)
> From: "Manuele Rampazzo" <manu a linux.it>
> Subject: Re: [ubuntu-it] Re: LVM: estendere LV di sistema
>
> F P disse:
> > Bad Magic number in super-block while trying to open
> > /dev/vg_ubuntu/lv_data
> > Couldn't find valid filesystem superblock
>
> Cosa ti danno rispettivamente:
>
> # vgdisplay -v vg_ubuntu
>
> e
>
> # lvdisplay /dev/vg_ubuntu/lv_data
>
> ? Magari riporta di nuovo l'output di df, che non ho pił sottomano la tua
> e-mail originale.
>
> Ciao,
> Manu
>

ecco tutti gli output che mi hai chiesto.
ho due dischi fissi, belli incasinati.
ho winXP, gentoo, ubuntu.
ci sono poi tracce di una vecchia redhat e residui di win98 e win2k....
devo fare un po' di ordine......!

grazie per l'aiuto
F.

zagor a hitomi:~$ sudo vgdisplay -v vg_ubuntu
Password:
    Using volume group(s) on command line
    Finding volume group "vg_ubuntu"
  --- Volume group ---
  VG Name               vg_ubuntu
  System ID
  Format                lvm2
  Metadata Areas        3
  Metadata Sequence No  9
  VG Access             read/write
  VG Status             resizable
  MAX LV                0
  Cur LV                2
  Open LV               2
  Max PV                0
  Cur PV                3
  Act PV                3
  VG Size               7.80 GB
  PE Size               4.00 MB
  Total PE              1998
  Alloc PE / Size       1583 / 6.18 GB
  Free  PE / Size       415 / 1.62 GB
  VG UUID               TC6KIr-RE33-AjkW-6q3d-PX8Y-qBFu-ui7xAK

  --- Logical volume ---
  LV Name                /dev/vg_ubuntu/lv_dati
  VG Name                vg_ubuntu
  LV UUID                354dYN-hNqh-xR9J-MR6n-P3j5-NThi-DGLLsa
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                2.90 GB
  Current LE             743
  Segments               2
  Allocation             inherit
  Read ahead sectors     0
  Block device           254:0

  --- Logical volume ---
  LV Name                /dev/vg_ubuntu/lv_system
  VG Name                vg_ubuntu
  LV UUID                LWLWk5-dXU8-5gHe-68l0-Mpbw-01uz-0U170W
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                3.28 GB
  Current LE             840
  Segments               2
  Allocation             inherit
  Read ahead sectors     0
  Block device           254:1

  --- Physical volumes ---
  PV Name               /dev/hdb7
  PV UUID               WUlAKO-ZY5u-16Vb-mTo0-gZ2X-tdhX-H1iBoe
  PV Status             allocatable
  Total PE / Free PE    492 / 0

  PV Name               /dev/hdb9
  PV UUID               12FUaR-ZDmK-2yf2-NMbK-nigY-AdH9-bJ6wUO
  PV Status             allocatable
  Total PE / Free PE    835 / 0

  PV Name               /dev/hda10
  PV UUID               bPlOY1-LhDD-56cr-BLTk-v5Vu-mggF-726vft
  PV Status             allocatable
  Total PE / Free PE    671 / 415

zagor a hitomi:~$ sudo lvdisplay /dev/vg_ubuntu/lv_dati
Password:
  --- Logical volume ---
  LV Name                /dev/vg_ubuntu/lv_dati
  VG Name                vg_ubuntu
  LV UUID                354dYN-hNqh-xR9J-MR6n-P3j5-NThi-DGLLsa
  LV Write Access        read/write
  LV Status              available
  # open                 2
  LV Size                2.90 GB
  Current LE             743
  Segments               2
  Allocation             inherit
  Read ahead sectors     0
  Block device           254:0

zagor a hitomi:~$ df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_ubuntu-lv_system
                       3440528   2179588   1260940  64% /
tmpfs                   258244         0    258244   0% /dev/shm
tmpfs                   258244     12588    245656   5%
/lib/modules/2.6.12-10-386/volatile
/dev/hdb8                75240     34170     37056  48% /boot
/dev/hda6             15880752  15143672    737080  96% /media/dos_d
/dev/hdb10            10241024   7748284   2492740  76% /media/linux_edit
/dev/hdb6             24414848  23905840    509008  98% /media/shared
/dev/hdb5             28469280  24829968   3639312  88% /media/video
/dev/hda1               994036    365344    628692  37% /media/win98
/dev/mapper/vg_ubuntu-lv_dati
                       1994684   1994684         0 100% /usr
/dev/hdb1             33487460  23108516  10378944  70% /media/backup
/dev/hdb11             8329668   6843872   1485796  83% /media/winXP_old
/dev/hda5              6666940   6099612    567328  92% /media/winXP

zagor a hitomi:~$ mount
/dev/mapper/vg_ubuntu-lv_system on / type reiserfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
tmpfs on /lib/modules/2.6.12-10-386/volatile type tmpfs (rw,mode=0755)
/dev/hdb8 on /boot type ext3 (rw)
/dev/hda6 on /media/dos_d type vfat (rw,umask=000)
/dev/hdb10 on /media/linux_edit type reiserfs (rw)
/dev/hdb6 on /media/shared type vfat (rw,umask=000)
/dev/hdb5 on /media/video type vfat (rw,umask=000)
/dev/hda1 on /media/win98 type vfat (rw,umask=000)
/dev/mapper/vg_ubuntu-lv_dati on /usr type reiserfs (rw)
/dev/hdb1 on /media/backup type ntfs (ro,noexec,nosuid,nodev,umask=0222)
/dev/hdb11 on /media/winXP_old type ntfs (ro,noexec,nosuid,nodev,umask=0222)
/dev/hda5 on /media/winXP type ntfs (ro,noexec,nosuid,nodev,umask=0222)
tmpfs on /dev type tmpfs (rw,size=10M,mode=0755)



More information about the ubuntu-it mailing list