The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > Hardware > Filesystems, Disks and Memory
.
google unix.com



Filesystems, Disks and Memory Discuss NAS, SAN, RAID, Robotic Libraries, backup devices, RAM, DRAM, SCSI, IDE, EIDE topics 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 07:09 PM
Is a CEP application a “Managed Process”? iBot Complex Event Processing RSS News 0 09-18-2007 10:10 AM
Need to remove a disk from Veritas kiem SUN Solaris 3 04-04-2007 05:13 PM
Veritas root disk mirroring Jartan SUN Solaris 10 12-12-2006 06:46 PM
Linux Managed Server, Mapping Dns To Directory zapmedia UNIX for Dummies Questions & Answers 0 06-25-2005 09:34 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-04-2005
ozzmosiz ozzmosiz is offline
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.
  #2 (permalink)  
Old 02-04-2005
RTM's Avatar
RTM RTM is offline Forum Advisor  
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.
  #3 (permalink)  
Old 02-08-2005
98_1LE 98_1LE is offline Forum Advisor  
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.
Sponsored Links
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 09:32 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0