Unix Technical Forum

increasing filesystem issues

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, ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:03 PM
yls177
 
Posts: n/a
Default increasing filesystem issues

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?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 07:03 PM
Florian Anwander
 
Posts: n/a
Default Re: increasing filesystem issues

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 07:04 PM
Tim Shoaf
 
Posts: n/a
Default Re: increasing filesystem issues

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
>


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 07:04 PM
hosea.basis@gmail.com
 
Posts: n/a
Default Re: increasing filesystem issues

Yup...

with fsadm, the filesystem do not need to be umounted. However, for
extendfs, it has to be umounted.

Any idea why this is so?

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 07:05 PM
Lars Bausch
 
Posts: n/a
Default Re: increasing filesystem issues

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



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-16-2008, 07:05 PM
hosea.basis@gmail.com
 
Posts: n/a
Default Re: increasing filesystem issues

Hi pple.

thanks

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com