- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvreduce step
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
Forums
Discussions
Discussions
Discussions
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
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
05-12-2008 07:18 AM
05-12-2008 07:18 AM
I have a problem by lvreduce my partition:
When I have reduce my logical volume, I runned the fsck command for FS corrupted, but I have get the following error :
file system is larger than device
vxfs fsck: cannot initialize aggregate
file system check failure, aborting
Can you help me ?
thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 07:23 AM
05-12-2008 07:23 AM
Re: lvreduce step
If you have Online JFS, you must FIRST 'fsadm' the size of your filesystem to a smaller one BEFORE you 'lvreduce' the logical volume container.
If you don't have Online JFS (but you should!) then you must first backup your filesystem; then 'lvreduce' the logical volume that contains it; and then RESTORE your filesystem from the backup taken.
If you failed to follow the above caveats and you merely 'lvreduce'd your filesystem, you have corrupted it. Indeed, it appears that this is the case. You will need to 'newfs' your filesystem and reload it from a backup!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 07:55 AM
05-12-2008 07:55 AM
Re: lvreduce step
I solved making a new FS.
But I extended my ORACLE partition too and when I mount it I don't see the new dimension.
Question: Have I to make a new FS, and can I lost the data into my ORACLE ??
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 08:02 AM
05-12-2008 08:02 AM
Re: lvreduce step
You must increase the size of the LV, then you must increase the size of the filesystem.
If you have onlineJFS you can use fsadm to increase the size on the fly.
If you don't have onilineJFS you must unmount the LV, use extendfs to increase the filesystem, then remount the LV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 08:07 AM
05-12-2008 08:07 AM
SolutionA with Online-JFS
#lvextend -L 500 /dev/vg00/lvol6
#fsadm -b 500 /mount_point
without Online-JFS
#lvextend -L 500 /dev/vg00/lvol6
# umount /mount_point
# extendfs /dev/vg00/rlvol6
# mount /mount_point
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 08:13 AM
05-12-2008 08:13 AM
Re: lvreduce step
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 09:46 AM
05-12-2008 09:46 AM
Re: lvreduce step
Dear Elizabeth
if u are increasing the lvm u are increasing the logical volume size only, this is not increasing u file system size
if u want to increase the file system u can
use extendfs or fsadm command
if online jfs is installed in u system u can increase the filesystem by using fsadm command
u can use swlist -l product | grep -i jfs
from these output u can understand onlinejfs is installed or not if online jfs is installed in u system use fsadm command for increasing u file system
first u have to increase the logical volume
then use fsadm command
if online jfs is not installed use extendfs command for extending filesystem
the steps u can see from the others posting
thanks and regards
Sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-12-2008 10:17 AM
05-12-2008 10:17 AM
Re: lvreduce step
Supplementary note:
If you do not have Online JFS, you can umount the file system and use extendfs to extend the file system. This extends the file system to the size of the logical volume.
lvextend
umount
extendfs
mount
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
05-12-2008 10:27 AM
05-12-2008 10:27 AM
Re: lvreduce step
Funny, this thread is about DECREASING the size of a filesystem, not enlarging it...
By the way, there is NO such word as "u" in English. It is "you".
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2008 04:10 AM
05-13-2008 04:10 AM
Re: lvreduce step
An extra information when you wnat to decrease the size of a filesystem. Due the fragmentation of the data, good options in fsadm command is -d, -D, -e, and -E to reorganize the extents and the directories. When you do this you can gain some space. See man page for more details.
Regards,
Roland