The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Help: root partition crashed, fsck failed. Disk problem? steeles SUN Solaris 2 02-11-2008 04:09 PM
Is a CEP application a “Managed Process”? iBot Complex Event Processing RSS News 0 09-18-2007 07:10 AM
Need to remove a disk from Veritas kiem SUN Solaris 3 04-04-2007 02:13 PM
Veritas root disk mirroring Jartan SUN Solaris 10 12-12-2006 03:46 PM
Linux Managed Server, Mapping Dns To Directory zapmedia UNIX for Dummies Questions & Answers 0 06-25-2005 06:34 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 02-04-2005
Registered User
 

Join Date: Feb 2005
Posts: 5
FSCK on veritas managed disk

I've had a VXFS filesystem get corrupted and now it won't mount.
Can I run a fsck -y on the raw disk device or should something be
done within veritas? Veritas does not see the disk at the moment.
Reply With Quote
Forum Sponsor
  #2  
Old 02-04-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Quote:
I've had a VXFS filesystem get corrupted and now it won't mount.
Bummer - I hate when that happens.
Quote:
Can I run a fsck -y on the raw disk device
It matters what you mean by 'raw disk device' - If this was a vertias filesystem that was mounted as a partition, fsck won't be a problem. If this was a veritas filesystem raw Sybase disk then fsck I believe would fail (since it's not a real filesystem but just a Sybase raw partition controlled by Veritas).
Quote:
or should something be done within veritas? Veritas does not see the disk at the moment.
Hopefully you had saved in the past the information needed (I don't recall all of it off the top of my head) -
Code:
vxprint -th 
vxdisk list
If the drive failed, then there is a procedure to follow within vxdiskadm of removing and installing - but you should have the old info to know exactly which device you are dealing with.
Reply With Quote
  #3  
Old 02-07-2005
Registered User
 

Join Date: Dec 2000
Location: Greater Dallas area
Posts: 405
Is there a log on the file system?

First make sure the disk group is imported with:
vxdg list

If not, import with:
vxdg import disk_group

If that fails, try:
vxdg -Cf import disk_group # assuming this is not a cluster


Then start the volume(s):
vxvol -g disk_group startall

If that fails, try:
vxvol -f -g disk_group startall


fsck the file system:
fsck -F vxfs /dev/vx/rdsk/disk_group/volume

If that fails, try:
fsck -F vxfs -o full /dev/vx/rdsk/disk_group/volume

Mount it up:
mount -F vxfs /dev/vx/rdsk/disk_group/volume /mount/point

Be sure to replace disk_group and volume with your actual info.

Good luck.

If an actual disk failed, and was not fault tolerant, it will be necessary to rebuilt the volume (and maybe the disk group) and restore the data from backup. If it is RAID 0 ir 5 and has a log you should be able to get it back easily.
__________________
[url=http://chuckb.1le.net/]My website[/url]
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:15 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0