<html><head><style type="text/css">body {word-wrap: break-word; background-color:#ffffff;}</style></head><body><div style="font-family: sans-serif; font-size: 16px">Hello, <br>I added a second parttion to vg, extended lv and fs, mounted ir back. Checked -alm directories were in place. Proceeded with creation a few large files * also worked fine. Switched the machiine off and went to bed.<br>Next day booted to discover that few , but the most important, dies are missing. <br><br>Please advise - I'm extremely upset. Since the back is outdated.<br>Here is a log from history I could retrive and some additional information.<br>I run Centos 5.4 rpm based. (<a href="tel:2618164151">2.6.18-164.15.1</a>.el5.centos.plus) with lvm2 ( rpm <a href="tel:2618164151">2.6.18-164.15.1</a>.el5.centos.plus). I followed the [url]<a href="http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html">http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html</a>[/url] and <br>here is the list of what i have (now):<br>[code]<br><br>cat /etc/fstab <br>/dev/VG_SYS/LogVol00    /                       ext3    defaults        1 1<br>LABEL=/boot             /boot                   ext3    defaults        1 2<br>devpts                  /dev/pts                devpts  gid=5,mode=<a href="tel:62000">620  0 0</a><br>tmpfs                   /dev/shm                tmpfs   defaults        0 0<br>proc                    /proc                   proc    defaults        0 0<br>sysfs                   /sys                    sysfs   defaults        0 0<br>/dev/VG_SYS/LogVol01    swap                    swap    defaults        0 0<br>/dev/VG_Storage00/LG_VG_Storage00_00    /u01/app/       ext3    defaults        0 0<br>#/dev/mapper/VG_Storage01-LV_VG_STORAGE01 /mnt/storage  ext3    defaults        0 0<br>/dev/mapper/VG_Storage-LV_00    /mnt/storage    ext3    defaults        0 0<br><br>[root@server ~]# lvs<br>  LV                 VG           Attr   LSize   Origin Snap%  Move Log Copy%  Convert<br>  LogVol00           VG_SYS       -wi-ao <a href="tel:14807">148.07</a>G                                      <br>  LogVol01           VG_SYS       -wi-ao <a href="tel:89600">896.00</a>M                                      <br>  LV_00              VG_Storage   -wi-a- <a href="tel:93133">931.33</a>G                                      <br>  LG_VG_Storage00_00 VG_Storage00 -wi-ao <a href="tel:14905">149.05</a>G                                      <br>  LV_Backup          VG_backup    -wi-ao <a href="tel:23287">232.87</a>G                                      <br>[root@server ~]# vgs<br>  VG           #PV #LV #SN Attr   VSize   VFree<br>  VG_SYS         <a href="tel:120">1   2   0</a> wz--n- <a href="tel:14895">148.95</a>G    0 <br>  VG_Storage     <a href="tel:210">2   1   0</a> wz--n- <a href="tel:93133">931.33</a>G    0 <br>  VG_Storage<a href="tel:00210">00   2   1   0</a> wz--l- <a href="tel:14905">149.05</a>G    0 <br>  VG_backup      <a href="tel:310">3   1   0</a> wz--n- <a href="tel:23287">232.87</a>G    0 <br>[root@server ~]# pvs<br>  PV         VG           Fmt  Attr PSize   PFree  <br>  /dev/hdc1  VG_Storage00 lvm2 a-    <a href="tel:7453">74.53</a>G      0 <br>  /dev/hdc2  VG_backup    lvm2 a-    <a href="tel:7452">74.52</a>G      0 <br>  /dev/hdd1  VG_Storage00 lvm2 a-    <a href="tel:7453">74.53</a>G      0 <br>  /dev/hdd2  VG_backup    lvm2 a-    <a href="tel:7452">74.52</a>G      0 <br>  /dev/hdd3  VG_backup    lvm2 a-    <a href="tel:8383">83.83</a>G      0 <br>  /dev/sda2  VG_SYS       lvm2 a-   <a href="tel:14895">148.95</a>G      0 <br>  /dev/sdb1  VG_Storage   lvm2 a-   <a href="tel:46567">465.67</a>G      0 <br>  /dev/sdb5  VG_Storage   lvm2 a-   <a href="tel:46567">465.67</a>G      0 <br>  /dev/sdb6               lvm<a href="tel:246593">2 --   465.93</a>G <a href="tel:46593">465.93</a>G<br><br>[/code]<br>now here is what i did.<br>i took the sdb5 and added to VG_STORAGE, extended lvs and extended the FS. Mounted and uuuupps. half of the directories are gone. <br>here is the history of commands. All run w/o errors. Well, at least obvious errors that would have caught my eye.<br>[code]<br>umount /mnt/storage<br>vgextend /dev/mapper/VG_Storage /dev/sdb5<br>lvextend -l+100%VG /dev/VG_Storage00/LG_VG_Storage00_00<br>lvextend -l+100%FREE /dev/mapper/VG_Storage-LV_00<br>resize2fs /dev/mapper/VG_Storage-LV_00<br>e2fsck -f /dev/mapper/VG_Storage-LV_00<br>resize2fs /dev/mapper/VG_Storage-LV_00<br>df -h /mnt/storage/<br>Filesystem            Size  Used Avail Use% Mounted on<br>/dev/mapper/VG_Storage-LV_00<br>                      932G  488G  407G  55% /mnt/storage<br>du -hs /mnt/storage/<br>487G    /mnt/storage/<br>[/code]<br><br>now, i think i mounted and checked the space.<br>i ran a couples of commands that created a few big files in the one the directories. Everything went just fine. I never checked if all old directories exist.<br><br>Today booted - and all directories/files i created after extension of the fs are in place. Some old dirs are there too. But some (~50%) are missing. Obviously, those are the ones i do care about the most..<br>Please help....</div></body></html>