digimer

Untitled

May 4th, 2011
192
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. [root@xenmaster003 ~]# lvextend -L +50G /dev/drbd_sh1_vg0/cluster_files /dev/drbd3
  2. Extending logical volume cluster_files to 250.00 GB
  3. Logical volume cluster_files successfully resized
  4. [root@xenmaster003 ~]# gfs2_grow -T /dev/drbd_sh1_vg0/cluster_files /cluster_files/
  5. (Test mode--File system will not be changed)
  6. FS: Mount Point: /cluster_files
  7. FS: Device: /dev/mapper/drbd_sh1_vg0-cluster_files
  8. FS: Size: 52428798 (0x31ffffe)
  9. FS: RG size: 65535 (0xffff)
  10. DEV: Size: 65536000 (0x3e80000)
  11. The file system grew by 51200MB.
  12. FS: Mount Point: /cluster_files
  13. FS: Device: /dev/mapper/drbd_sh1_vg0-cluster_files
  14. FS: Size: 52428798 (0x31ffffe)
  15. FS: RG size: 65535 (0xffff)
  16. DEV: Size: 65536000 (0x3e80000)
  17. The file system grew by 51200MB.
  18. gfs2_grow complete.
  19. [root@xenmaster003 ~]# gfs2_grow /dev/drbd_sh1_vg0/cluster_files /cluster_files/
  20. FS: Mount Point: /cluster_files
  21. FS: Device: /dev/mapper/drbd_sh1_vg0-cluster_files
  22. FS: Size: 52428798 (0x31ffffe)
  23. FS: RG size: 65535 (0xffff)
  24. DEV: Size: 65536000 (0x3e80000)
  25. The file system grew by 51200MB.
  26. Error: The device has grown by less than one Resource Group (RG).
  27. The device grew by 0MB. One RG is 255MB for this file system.
  28. gfs2_grow complete.
  29. [root@xenmaster003 ~]# df -h
  30. Filesystem Size Used Avail Use% Mounted on
  31. /dev/md2 57G 2.7G 51G 6% /
  32. /dev/md0 251M 52M 187M 22% /boot
  33. tmpfs 7.7G 0 7.7G 0% /dev/shm
  34. /dev/mapper/drbd_sh0_vg0-xen_shared
  35. 56G 259M 56G 1% /xen_shared
  36. /dev/mapper/drbd_sh1_vg0-cluster_files
  37. 250G 145G 106G 58% /cluster_files
Advertisement
Add Comment
Please, Sign In to add comment