Operating System - HP-UX
1752691 Members
5512 Online
108789 Solutions
New Discussion юеВ

Re: incorrectly extended file system

 
SOLVED
Go to solution
Shivkumar
Super Advisor

incorrectly extended file system

Dear Sirs,

Will fsck fix incorrectly extended file system on hpux 11i ? We are using JFS file system because i checked it is vxfs.

Regards,
Shiv
12 REPLIES 12
baiju_3
Esteemed Contributor

Re: incorrectly extended file system

Hi Shiv,

What you mean my incorrectly extended file system ?

fsck -F vxfs -o full , can be used to do a full file system checking.


Regards,
bl.
Good things Just Got better (Plz,not stolen from advertisement -:) )
Arunvijai_4
Honored Contributor

Re: incorrectly extended file system

Hi Shiv,

"fsck" is used to audits and interactively repairs inconsistent conditions for HP-UX file systems on mass storage device files
identified by special.

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Adisuria Wangsadinata_1
Honored Contributor

Re: incorrectly extended file system

Hi Shiv,

If you done extend the vxfs file system with jfs option, you need to prepare your backup on the particular file system immediately.

You need to re-format the file system with the newfs command and restore the file system.

If you dont have the backup, please create a backup immediately. And use this backup once you've done the newfs.

You can try to use fsck first, but do the backup before fsck.

Hope this information can help you.

Cheers,
AW
now working, next not working ... that's unix
Patrick Wallek
Honored Contributor

Re: incorrectly extended file system

How was it incorrectly extended? What did you do? What errors did you get?
Shivkumar
Super Advisor

Re: incorrectly extended file system

Sirs,

I have not extended file system incorrectly but suspecting some other sys admin might have done incorrectly.

Regards,
Shiv
Arunvijai_4
Honored Contributor

Re: incorrectly extended file system

Hi Shiv,

If you suspect about this, backup the FS first, reformat immediately. That should be always helpful before running "fsck".

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Darrel Louis
Honored Contributor

Re: incorrectly extended file system

Hi Shiv,

Based on what, you think the FS has been extended incorrectly?

What you can do is make a backup and recreate the FS.
Or if it's mirrored remove the mirror and use the extra disks to recreate the FS and sync the data to the new fs etc,

Darrel
Muthukumar_5
Honored Contributor

Re: incorrectly extended file system

fsck is used to check file consistency only. If you want to fix incorrect extend then you have redo the extend operation again. It is good to do at initial stage itself.

--
Muthu

Easy to suggest when don't know about the problem!
Joseph Loo
Honored Contributor

Re: incorrectly extended file system

hi shiv,

if u have enable logging for LVm in syslog.log, u may be able to track which and changes made to the file system:

# grep LVM /var/adm/syslog/syslog.log
or
# grep LVM /var/adm/syslog/OLDsyslog.log

regards.
what you do not see does not mean you should not believe