Discussion:
fsck and umounting fileystems
(too old to reply)
happytoday
2011-08-17 22:49:25 UTC
Permalink
I run
#init S
#umountall
#fsck -y /dev/dsk/c0t0d0s0

Still I face that message /dev/dsk/c0t0d0s0 is currently mounted read/
write .

file system may be in consistence
Sami Ketola
2011-08-18 04:51:43 UTC
Permalink
Post by happytoday
I run
#init S
#umountall
#fsck -y /dev/dsk/c0t0d0s0
Still I face that message /dev/dsk/c0t0d0s0 is currently mounted read/
write .
file system may be in consistence
root filesystem (/) cannot be unmounted since it is in use.
you can try to remount it read only for fsck:

mount -o remount,ro /

Sami
purusothaman raghu
2011-08-18 09:32:24 UTC
Permalink
Post by Sami Ketola
Post by happytoday
I run
#init S
#umountall
#fsck -y /dev/dsk/c0t0d0s0
Still I face that message /dev/dsk/c0t0d0s0 is currently mounted read/
write .
file system may be in consistence
root filesystem (/) cannot be unmounted since it is in use.
mount -o remount,ro /
Sami
hi

alternatively,
in case you are using solaris 10 you can boot machine in failsafe mode
and run fsck command for root.
For older versions we can boot with cd and run fsck command.

regards,
Purus
Zfs..
2011-08-18 13:56:31 UTC
Permalink
Post by happytoday
I run
#init S
#umountall
#fsck -y /dev/dsk/c0t0d0s0
Still I face that message /dev/dsk/c0t0d0s0 is currently mounted read/
write .
file system may be in consistence
boot -F failsafe

then run fsck on your c0t0d0s0

Loading...