- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- "Something is Wrong with /var Filesystem"
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
03-04-2003 10:24 PM
03-04-2003 10:24 PM
Yesterday I found the /var filesystem can't be mounted. Then I perform a fsck operation
#
# fsck /dev/vg00/lvol8
vxfs fsck: file system had I/O error(s) on meta-data
log replay in progress
vxfs fsck: file system had I/O error(s) on meta-data
a full file system check is required
#
Then, I perform a full fsck.
#
# fsck -o full,nolog /dev/vg00/lvol8
vxfs fsck: file system had I/O error(s) on meta-data.
vxfs fsck: file system had I/O error(s) on meta-data.
pass0 - checking structural files
pass1 - checking inode sanity and blocks
vxfs fsck: fsck read failure bno = 154720, off=0, len=8192
#
What's the problem? What can I do?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:52 PM
03-04-2003 10:52 PM
Re: "Something is Wrong with /var Filesystem"
what does pvdisplay -v and lvdisplay -v see if there is something fishy.
also do a dd on the disk to see if all the blocks are readable.
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:08 AM
03-05-2003 01:08 AM
Re: "Something is Wrong with /var Filesystem"
However I'm not familiar with command 'dd',cound you tell me how to use command 'dd' if I want to save my data from /var at possible?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:14 AM
03-05-2003 01:14 AM
Re: "Something is Wrong with /var Filesystem"
this is to just check if your disk has any bad sectors or if ur disk is completely readable. i guess you already have a backup. if not use, fbackup or tar.
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 01:33 AM
03-05-2003 01:33 AM
Re: "Something is Wrong with /var Filesystem"
Ive had just this problem myself recently. After exhaustive checking the filesystem was lost, I had to newfs it. All data was lost.
The consensus was a hardware error developed on the disk which caused the corruption of your filesystem and its now lost. sorry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 02:06 AM
03-05-2003 02:06 AM
Re: "Something is Wrong with /var Filesystem"
did you do the fsck in single user mode or in multi user mode. advise you to do in single user mode.
can you check the disk with
#dd if=/dev/rdsk/cxtxdx of=/dev/null bs=1024k
if you get any I/O error then disk is in prolem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 03:30 AM
03-05-2003 03:30 AM
SolutionYou can verify the file system using dd if=/dev/vg00/rlvol8 of=/dev/null bs=64k.
as per ur query u r notable to do fsck on the filesystem and hence not able mountit also . in this case you can try the following .
take backup of the file system using
dd if=/dev/vg00/rlvol8 of=/dev/rmt/0m bs=64k
(hope dat drive device is 0m)
create a new filesystem using newfs .
newfs /dev/vg00/rlvol8
now restore it from backup.
dd if=/dev/rmt/0m of=/dev/vg00/rlvol8 bs=64k
now do fsck on the same logical volume and try to mount it . but the chances are only 50%
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 04:08 AM
03-05-2003 04:08 AM
Re: "Something is Wrong with /var Filesystem"
Cheryl