svc:/system/filesystem/local is always in maintenance status


 
Thread Tools Search this Thread
Operating Systems Solaris svc:/system/filesystem/local is always in maintenance status
# 1  
Old 06-04-2010
svc:/system/filesystem/local is always in maintenance status

Hello Friends,

I need to change network filesystem status as online but it always seems in maintenance mode, I appreciate your any suggestion to change its state as online.

Code:
shell>svcadm enable svc:/system/filesystem/local
shell>svcs -l svc:/system/filesystem/local
fmri         svc:/system/filesystem/local:default
name         local file system mounts
enabled      true
state        maintenance
next_state   none
state_time   Thu Jun 03 18:00:01 2010
logfile      /var/svc/log/system-filesystem-local:default.log
restarter    svc:/system/svc/restarter:default
dependency   require_all/none svc:/milestone/single-user (online)
dependency   require_all/none svc:/system/filesystem/minimal (online)
dependency   require_all/none svc:/system/vxvm/vxvm-reconfig (online)
shell>

Solaris OS is newly setup, there is no zone or any related system.

Code:
shell>who -r
   .       run-level 3  Jun  3 17:59     3      0  S
shell>uname -a
SunOS shell 5.10 Generic_139555-08 sun4v sparc SUNW,SPARC-Enterprise-T1000

Regards
# 2  
Old 06-04-2010
What does /var/svc/log/system-filesystem-local:default.log say? Are there any error messages?
# 3  
Old 06-04-2010
i tried to below command but,

Code:
shell>mount -a
mount: /dev/md/dsk/d8 is already mounted or /globaldevices is busy
mount: /tmp is already mounted or swap is busy
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
shell>/sbin/mountall
mount: /dev/md/dsk/d8 is already mounted or /globaldevices is busy
mount: /tmp is already mounted or swap is busy
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
shell>

after than i tried to this,

Code:
shell>svcadm -v disable svc:/system/filesystem/local
svc:/system/filesystem/local:default disabled.
shell>svcadm -v enable svc:/system/filesystem/local
svc:/system/filesystem/local:default enabled.
shell>svc:/system/filesystem/local:default: WARNING: /sbin/mountall -l failed: exit status 1
Reading ZFS config: done.
Jun  4 14:35:56 svc.startd[7]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" failed with exit status 95.
Jun  4 14:35:56 svc.startd[7]: system/filesystem/local:default failed fatally: transitioned to maintenance (see 'svcs -xv' for details)
shell>


Code:
shell>cat /var/svc/log/system-filesystem-local:default.log
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ May 25 12:03:28 Method "start" exited with status 95 ]
[ May 26 16:12:37 Executing start method ("/lib/svc/method/fs-local") ]
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ May 26 16:12:39 Method "start" exited with status 95 ]
[ Jun  2 16:16:29 Executing start method ("/lib/svc/method/fs-local") ]
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ Jun  2 16:16:31 Method "start" exited with status 95 ]
[ Jun  2 17:36:17 Executing start method ("/lib/svc/method/fs-local") ]
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ Jun  2 17:36:19 Method "start" exited with status 95 ]
[ Jun  3 17:59:58 Executing start method ("/lib/svc/method/fs-local") ]
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ Jun  3 18:00:01 Method "start" exited with status 95 ]
[ Jun  4 14:35:43 Leaving maintenance because disable requested. ]
[ Jun  4 14:35:43 Disabled. ]
[ Jun  4 14:35:56 Enabled. ]
[ Jun  4 14:35:56 Executing start method ("/lib/svc/method/fs-local") ]
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/tap: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
UX:vxfs mount: ERROR: V-3-20002: Cannot access /dev/vx/dsk/tapcgwdg/taplog: No such file or directory
UX:vxfs mount: ERROR: V-3-24996: Unable to get disk layout version
WARNING: /sbin/mountall -l failed: exit status 1
[ Jun  4 14:35:56 Method "start" exited with status 95 ]
shell>


Last edited by EAGL€; 06-04-2010 at 08:45 AM..
# 4  
Old 06-04-2010
It seems you have two entries in your /etc/vfstab file that cannot be mounted. Try to find the two lines beginning with /dev/vx/dsk/tapcgwdg/tap and /dev/vx/dsk/tapcgwdg/taplog, then place a # in front of the two lines and finally run
Code:
svcadm clear filesystem/local


Last edited by hergp; 06-04-2010 at 12:05 PM..
This User Gave Thanks to hergp For This Post:
# 5  
Old 06-04-2010
First of all my aim was to be able to use ssh daemon so thats way i asked for your help.

Now It works like a charm after trying below commands:

Code:
#svcadm -v clear svc:/system/filesystem/local:default
#svcadm -v enable svc:/system/filesystem/local:default

#svcadm disable ssh
#svcadm enable ssh

Danke Schön Smilie
This User Gave Thanks to EAGL€ For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Svc messages flooding the system logs every second

Hi all I have a newly installed Oracle X2-4 server running Solaris 10 x86 with the latest patches. I have one non-global zone configured running an Oracle DB instance. After configuring IPMP failover between two NICs on the server and rebooting I am seeing the /var/adm/messages being flooded... (7 Replies)
Discussion started by: notreallyhere
7 Replies

2. Solaris

System booting to maintenance mode

Hi Guys, I have a sunblade 1500. I booted the system and it booted to maintenance mode. How can I fix this? Thanks lots (8 Replies)
Discussion started by: cjashu
8 Replies

3. Solaris

dependency require_all/none svc:/network/physical (maintenance)

I am using telnet instead of ssh because network/physical service is on maintenance mode. I can ping google and other internel machines. I can't ssh to this server because network/physical is dependency of ssh. How can I fix this service. I can use network service but it is maintenance mode.... (8 Replies)
Discussion started by: getrue
8 Replies

4. Solaris

svc:/network/physical:default: Method "/lib/svc/method/net-physical" failed with exit status 96. [ n

After a memory upgrade all network interfaces are misconfigued. How do i resolve this issue. Below are some out puts.thanks. ifconfig: plumb: SIOCLIFADDIF: eg000g0:2: no such interface # ifconfig eg1000g0:2 plumb ifconfig: plumb: SIOCLIFADDIF: eg1000g0:2: no such interface # ifconfig... (2 Replies)
Discussion started by: andersonedouard
2 Replies

5. UNIX for Dummies Questions & Answers

hwo to find shared filesystem and local filesystem in AIX

Hi, I wanted to find out that in my database server which filesystems are shared storage and which filesystems are local. Like when I use df -k, it shows "filesystem" and "mounted on" but I want to know which one is shared and which one is local. Please tell me the commands which I can run... (2 Replies)
Discussion started by: kamranjalal
2 Replies

6. Solaris

Restore from Flash Archive on local filesystem

I am doing a practice restore using a test UNIX(Solaris) system, and a SCSI Hard Drive whose slice 5 contains the Flash Archive file that I need to restore from. The test system is offline( no network ) and does not have external devices, such as tape drive. My goal is to somehow restore the... (9 Replies)
Discussion started by: the.gooch
9 Replies

7. Solaris

smf fails to mount svc:/system/filesystem/usr:default

http://i44.tinypic.com/2cmq7vn.jpg Please help me on this issue i'm using solaris on vmware x86 even i runed fsck on root disk like 'fsck -Y /dev/rdsk/c0d0s0 ' but again after reboot it is going to maintanance mode reply soon (6 Replies)
Discussion started by: knl.sundeep
6 Replies

8. Solaris

how do you login as sms-svc on a system controller

hi, i have got a SUN F15K DOMAIN TAKING HARDWARE CONFIGURATION DUMP. DUMP FILE: -D/VA message i wnat to logon as sms-svc on to the controller to check what's happening can you please guide me how do i login as sms-svc on the controller and check thank you (1 Reply)
Discussion started by: vinix
1 Replies

9. UNIX for Advanced & Expert Users

System Maintenance

How do I go about doing this??? Is there something to it other than cleaning up useless files?? if you have knowledge concerning this, please give your suggestions also, is it possible or safe to compress an entire filesystem. how do you go about doing this??? any information is appreciated (7 Replies)
Discussion started by: IMPORTANT
7 Replies

10. UNIX for Dummies Questions & Answers

Quiet System for Maintenance

I have backups that run in a cron @ midnight. Does the backup utility make sure that the system is quiet --(no users are logged on) or do I need to add some stuff to make sure nobody is accessing those file while they are being backed up. (3 Replies)
Discussion started by: michieka
3 Replies
Login or Register to Ask a Question