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.
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) -
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.
First make sure the disk group is imported with:
If not, import with:
If that fails, try:
Then start the volume(s):
If that fails, try:
fsck the file system:
If that fails, try:
Mount it up:
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.
Last edited by Yogesh Sawant; 04-10-2011 at 11:13 AM..
Reason: added code tags
Hi Experts,
I wanted to extend a veritas file system which is running on veritas cluster and mounted on node2 system.
#hastatus -sum
-- System State Frozen
A node1 running 0
A node2 running 0
-- Group State
-- Group System Probed ... (1 Reply)
NOTICE: /: unexpected free inode 45262, run fsck(1M)
fsck: cannot open vfstab
Looks like /etc/vfstab (and a few other files has gone)
Any ideas?
Boot from cd, mount disk and recreate vfstab so that I can run fsck? (1 Reply)
Need help getting all disk devices back on node 2 the same as node 1.
Recently Veritas and/or Sun cluster got wrecked on my 2 node Sun cluster after installing the latest patch cluster. I backed out the patches and then node 2 could see only half of the devices and Veritas drives (though format... (0 Replies)
Hi,
I`m on SunFire480R with Solaris 10. Disk in rootdg group failed, so it was replaced. However, I cannot make Veritas initalise the replaced disk:
# vxdctl enable
# vxdisk list c1t0d0s2
Device: c1t0d0s2
devicetag: c1t0d0
type: auto
flags: online error private autoconfig... (1 Reply)
People i have an a storage i create two virtual disk 1 y 2.
In the virtual disk 1 i configure 8 volumes and in the Vd2 configure 5 volumes.
Now i want to create a disk group called Prod2 y Dev2 but when i go to vxdiskadm and i choose add disk o encapusalte when i press list to list the disk... (0 Replies)
I am trying to write a kornshell script that will automatically create veritas disk groups. However, the only utility that I can find that will create the diskgroup is vxdiskadd, which prompts with interactive questions. I've tried to pass the answers through to vxdiskadd, but I receive the... (0 Replies)
recently this sunfire 280R (solaris 10) is having problme, it was able to boot up, then all suddent, it failed, and I can't even mount the first disk which contains root partition when I boot up from cdrom.
2 X 36G hard drive,
I scan first hard drive by "read", there is no bad block. The... (2 Replies)
I have a bogus disk that keeps showing up as failed from vxdisk list
- - disk hpdg failed was:c2t0d11s2
There isnt any c2 devices on the system:
# ls /dev/dsk/c2*
/dev/dsk/c2*: No such file or directory
# ls /dev/rdsk/c2*
/dev/rdsk/c2*: No such file or... (3 Replies)
Hi there,
My task is to replace the two 73 G disks with two 143 G disks , which has vxvm 4.1 running on it. I would like to know whether the steps iam following are correct.
1. Break the sub-disks, plexes of the root mirror.
2. Remove the sub-disks,plexes of the root mirror.
3. Remove one of... (10 Replies)