- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: LVOL re-sized, System Rebooted before fsadm to...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 06:48 AM
тАО08-02-2004 06:48 AM
LVOL re-sized, System Rebooted before fsadm to resize FS was done !
On Solaris. I can do an fsadm to fix filesystem size on a volume even if it is not mounted. fsadm on HP-UX gives me the following options which always expects a /mount_point :
vxfs fsadm: Usage:
fsadm [-F vxfs] [-V] [-b newsize] [-r rawdev] path_of_mountpoint
fsadm [-F vxfs] [-V] [-DEcde] [-vs] [-a days] [-r rawdev] [-l largesize]
[-p passes] [-t time] path_of_mountpoint
fsadm [-F vxfs] [-o largefiles|nolargefiles] path_of_mountpoint|rawdev
fsadm [-F vxfs] -c path_of_mountpoint
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 06:58 AM
тАО08-02-2004 06:58 AM
Re: LVOL re-sized, System Rebooted before fsadm to resize FS was done !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 07:03 AM
тАО08-02-2004 07:03 AM
Re: LVOL re-sized, System Rebooted before fsadm to resize FS was done !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 07:03 AM
тАО08-02-2004 07:03 AM
Re: LVOL re-sized, System Rebooted before fsadm to resize FS was done !
If it is and this mountpoint is the only thing not up than try the extendfs the guy above suggested...
If the vg is not up, then first activate it and then try to extend the fs using either the extendfs or fsadm..
HTH,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 07:13 AM
тАО08-02-2004 07:13 AM
Re: LVOL re-sized, System Rebooted before fsadm to resize FS was done !
The LVOL is sized: 481280 MB whilst the FS (which is still intact btw as evidenced by fstyp command) is 486336MB..
oravg01 is the VG
dbx001 is the lvol
/oradata/dbx001 is the mountpoint
I have tried:
fsadm -F vxfs -b 481280M -r /dev/oravg01/rdbx001 /oradata/dbx001
vxfs fsadm: /oradata/dbx001 is not the root inode of a vxfs file sytem
fsadm -F vxfs -b 481280M /oradata/dbx001
vxfs fsadm: /oradata/dbx001 is not the root inode of a vxfs file sytem
I think fsadm only works if the FS/LVOL to be resized is mounted.. Unless there are some undocumented options to it???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 07:23 AM
тАО08-02-2004 07:23 AM
Re: LVOL re-sized, System Rebooted before fsadm to resize FS was done !
If you haven't already reused the space freed by the LVOL reduction, immediately reextend the LVOL and you may be ok.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 07:23 AM
тАО08-02-2004 07:23 AM
Re: LVOL re-sized, System Rebooted before fsadm to resize FS was done !
extendfs -F vxfs /dev/vg01/rlvol10
make the vg and the rlvol realistic.
Then mount it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 07:26 AM
тАО08-02-2004 07:26 AM
Re: LVOL re-sized, System Rebooted before fsadm to resize FS was done !
extendfs /dev/oravg01/rdbx001
Extendfs only works on unmounted filesystems, and must be run on the raw lvol. In fact, if you did not have online JFS on your system, this is how you would have to extend your filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 08:04 AM
тАО08-02-2004 08:04 AM
Re: LVOL re-sized, System Rebooted before fsadm to resize FS was done !
734 mount|grep dbx001
735 fsadm -F vxfs -b 481280M /fn_cnv_data 736 bdf /fn_cnv_data
737 lvextend -L 481280 /dev/fhd002a0a/fn_cnv_data
738 man lvreduce
739 lvreduce -L 481280 /dev/fhd002a0a/fn_cnv_data
740 vginfo|more
I just cannot understand why there was an lvextend and an lvreduce.. or if the lvextend actually was a success or not.
Anyways, our weekend reboots no longer did not mount this FS.. and doing an fsck yields:
fsck /dev/oravg01/rdbx001
vxfs fsck: file system had I/O error(s) on meta-data.
file system is larger than device
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2004 08:21 AM
тАО08-02-2004 08:21 AM
Re: LVOL re-sized, System Rebooted before fsadm to resize FS was done !
"lvextend: "LogicalExtenttsNumber" is not bigger than current setting."
and the lvol size doesn't change.
When you run lvdisplay on your lvol, does it show the correct size?