Operating System - HP-UX
1759090 Members
3465 Online
108879 Solutions
New Discussion

fsck read failure on full fsck - HELP

 
Roland Rebstock_1
Frequent Advisor

Re: fsck read failure on full fsck - HELP

ive already blew it away and restoring from a hot backup. the next time I try to reduce a filesystem & volume, I should shrink the fs first then the volume?
Bill Hassell
Honored Contributor

Re: fsck read failure on full fsck - HELP

No. The order should ALWAYS be:

1. Backup the filesystem
2. umount the filesystem
3. lvreduce the lvol
4. newfs the lvol (this erases the lvol)
5. restore the data.
6. mount the filesystem

Now, *if* this is a vxfs filesystem *AND* you have the optional Online JFS product + the optional Online JFS version 3.3, you can try using fsadm in place of steps 2-6, but reducing a filesystem is an inherently dangerous task to the health of the filesystem. A backup, then recreate and restore is always the safest.


Bill Hassell, sysadmin