This is a discussion on increasing filesystem issues within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi. Using sam to increase logical volume will automatically extend the file system too. However, this is slow. Alternatively, ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hi. Using sam to increase logical volume will automatically extend the file system too. However, this is slow. Alternatively, we can do the same with command based. But, with command based, we need to umount and mount the filesystems even though we have online JFS. Anyone with the same experience? |
| |||
| Hi yls177 > Using sam to increase logical volume will automatically extend the file > system too. However, this is slow. Alternatively, we can do the same > with command based. But, with command based, we need to umount and > mount the filesystems even though we have online JFS. > > Anyone with the same experience? I assume you try to use the command "extendfs". But you should try "fsadm -F vxFs ...". See man fsadm_vxfs Florian |
| |||
| With Online JFS you simply need to extend the Logical Volume first: lvextend -L (size in MB) /dev/vgxx/lvolx Then extend the filesystem: fsadm -F vxfs -b (lvol MB size * 1024) /filesystem_name In the below example I want to extend /depot (mounted on lvol2 in vg01) from 1Gb to 2Gb: # lvextend -F 2000 /dev/vg01/lvol2 # fsadm -F vxfs -b 2048000 /depot If the filesystem is not vxfs then it cannot be increased using Online JFS. Tim __________________________________________________ Florian Anwander <spam.interessiert.nicht@mnet-online.de> wrote in news:1112957380.144118@intranet.consol.de: > Hi yls177 > >> Using sam to increase logical volume will automatically extend the >> file system too. However, this is slow. Alternatively, we can do the >> same with command based. But, with command based, we need to umount >> and mount the filesystems even though we have online JFS. >> >> Anyone with the same experience? > > I assume you try to use the command "extendfs". But you should try > "fsadm -F vxFs ...". > > See man fsadm_vxfs > > Florian > |
| |||
| Hello ! hosea.basis@gmail.com wrote: > with fsadm, the filesystem do not need to be umounted. However, for > extendfs, it has to be umounted. > > Any idea why this is so? Extendfs is HPUX standard. OnlineJFS is a additional product, which you have to purchase, it enables the online features. Lars |