- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: fsadm corrupt lvol HELP!!
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
06-20-2005 11:47 PM
06-20-2005 11:47 PM
A colleague was trying to reduce the size of a logical volume, lvreduce worked ok & fsadm complained that some files were in use, he then unmounted the filesystem & now cannot mount it again to complete the fsadm resize. Is there a way around this? Can fsadm be run to resize an unmounted filesystem?
Regards,
Aidan
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 11:51 PM
06-20-2005 11:51 PM
Re: fsadm corrupt lvol HELP!!
I'm hoping you have a good backup.
You could try a full fsck, but i'm afraid you will need to recreate the volume.
Best regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2005 11:58 PM
06-20-2005 11:58 PM
Re: fsadm corrupt lvol HELP!!
What error does mount give ? It possiblly refers to a corrupted file system.
What does fsck give for the file system. Also try to extend it to original size ( More than the reduced size)& then retry fsck. If these do not work you need to recreate the file system.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 12:08 AM
06-21-2005 12:08 AM
Re: fsadm corrupt lvol HELP!!
"-f
Force reduction of the number of logical extents without first requesting confirmation.
This option can be dangerous when there is a file system on the lv_path that is larger than the size that the logical volume is being reduced to. If the file system is unmounted, the -f option forces the reduction of the logical volume without reducing the file system. The file system becomes corrupt and is not mountable."
I'm afraid you're going to need to re-create the logical volume and restore it's contents from backup.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 12:20 AM
06-21-2005 12:20 AM
Re: fsadm corrupt lvol HELP!!
But in most cases this works if you enough free space in the lvol. Most probablly, you will have to restore from backup.
Anil.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 07:01 AM
06-21-2005 07:01 AM
SolutionNow the VxFS filesystem does tend to grow from the bottom but there is no command to tell you where the last piece of useful data is located. For HFS filesystems, there are cylinder blocks all the way to the end of the disk which must remain intact.
Online JFS can increase a filesystem quite nicely online, but except for the very latest 3.3 version (and filesystems that are conveted to the latest VxFS revision), most sysadmins will report total loss of data using fsadm. NOTE: lvreduce should not be used--only fsadm.
Now if you're lucky and remember the original size of the lvol, you can lvextend the lvol back to it's original size and assuming you didn't try to force an fsck, the filesystem may be still be intact. Otehrwise, get out your backup tapes.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 11:42 PM
06-21-2005 11:42 PM
Re: fsadm corrupt lvol HELP!!
Thanks for your inputs, i had noted the exact size of the lvol prior to the lvreduce so an lvextend & an fsck -o full cleaned the filesystem & it was remounted ok! Think we'll be looking at removing & recreating the lvol next.
Regards,
Aidan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2005 11:43 PM
06-21-2005 11:43 PM