From: alok on 22 Sep 2009 15:08 Hi All, I have faced a weird problem on one of my servers running solaris 8. The root disks are mirrored using VxVM. The server got hanged. I do not why. We have to get the server hard booted. After that the server went into single user mode giving erros as below. INIT : not able to write /var/adm/wtmp , not able to write utmp etc. Even if a give the "W" command it starts giving some ptree not found errors.When i give df -k , it returns nothing indication only / is mounted in RO mode. I noticed that that the rootvol & var volumes were in "enabled NEEDSYNC " state. I tried a vxvol resync rootvol and same for var volume also. Now the state of the rootvol is back to enabled active. but if do a reboot now the problem persists. I have done several FSCK on the rootvol and the var vol and then tried to remount it with mount -o remount,rw /dev/vx/dsk/rootvol / and also tried rebooting but no help. Can please some help me out of this. I will be thankful.
From: Zfs.. on 22 Sep 2009 19:07 On Sep 22, 8:08 pm, alok <alok.20...(a)gmail.com> wrote: > Hi All, > > I have faced a weird problem on one of my servers running solaris 8. > The root disks are mirrored using VxVM. > > The server got hanged. I do not why. We have to get the server hard > booted. After that the server went into single user mode giving erros > as below. > > INIT : not able to write /var/adm/wtmp , not able to write utmp etc. > Even if a give the "W" command it starts giving some ptree not found > errors.When i give df -k , it returns nothing indication only / is > mounted in RO mode. > > I noticed that that the rootvol & var volumes were in "enabled > NEEDSYNC " state. I tried a vxvol resync rootvol and same for var > volume also. Now the state of the rootvol is back to enabled active. > but if do a reboot now the problem persists. I have done several FSCK > on the rootvol and the var vol and then tried to remount it with mount > -o remount,rw /dev/vx/dsk/rootvol / and also tried rebooting but no > help. > > Can please some help me out of this. > > I will be thankful. Are /var and / separate filesystems ? It looks as though they are. If they are then, Did you try the remount for /var ? mount -o remount,rw /dev/vx/dsk/rootvolvar /var Then run fsck /var and reboot..
From: alok on 23 Sep 2009 13:15 Hi Cian, Yes, the / and var are seperate filesystems. I did doing a fsck on both / & /var after doing a vxvol resync rootvol and then reboot, Also the remounting the /var does not works also. It fails saying /var is not mounted , not present in the /etc/mnttab. Inaddition to this I did the below but it all fails. Running a fsck on the / FS and /var and reboot. No luck. · Resync the rootvol, swapvol and var volumes , run a FSCK again. · Booting from the secondary disk. · Disabling the VxVM startup at boot and tried to boot the OS with only one disk. Change the /etc/system & /etc/vfstab. ( these changes have been reverted back. ) · Suspecting that the / & /var may be full and that might be causing the error, we deleted some old logs from the / & /var , again run FSCK , problem persists. · Disabled DMP by commenting out the required lines , in the / kernel/drv/vxdmp.conf. and then rebooted and the system failed to even boot in the single user mode Can some please suggest, Regards Alok
From: alok on 24 Sep 2009 11:22 any suggestions please ....
|
Pages: 1 Prev: Is OpenSolaris based on Solaris 9 or 10? Next: NFS server and File locking problem |