Solaris 10/08 w/ ZFS rpool NFS doesn't mount at boot time?
I've got an issue with NFS not mounting vfstab entered mounts during boot and was wondering if the latest Sol 10/08 with ZFS had anything to do with it.
1) #vi /etc/vfstab
server:/vol/share - /share nfs - yes rw,bg,hard,nointr,rsize=32768,wsize=32768,noac,vers=3,timeo=600
server2:/vol/share2 - /share2 nfs - yes rw,bg,hard,nointr,rsize=32768,wsize=32768,noac,vers=3,timeo=600
2) reboot -- -rv
Upon rebooting, the shares do not show up, but doing a mountall mounts them finally:
#mountall
mount: /tmp is already mounted or swap is busy
3) Doing a df -k at this point shows me they mounted.
So what gives? Why are they not mounting at boot? I tried to get around it by doing removing the vfstab entries, adding them into auto_master and then using cachefs, but my employer was not satisfied with autofs and wants them at boot and persistent via the vfstab. So what can be done to get this to work?
Thank you,
--tom
It appears I didn't have all of the services set online correctly:
#svcs |grep nfs
online Jan_05 svc:/network/nfs/status:default
online Jan_05 svc:/network/nfs/nlockmgr:default
So, I enabled the following:
#svcadm enable nfs/mapid
#svcadm enable nfs/cbd
#svcadm enable nfs/client
#scvs |grep nfs
Checked again:
#svcs |grep nfs
online Jan_05 svc:/network/nfs/status:default
online Jan_05 svc:/network/nfs/nlockmgr:default
online 15:48:24 svc:/network/nfs/mapid:default
online 15:48:33 svc:/network/nfs/cbd:default
online 15:48:42 svc:/network/nfs/client:default
Tested to make sure no errors were reported:
# svcs -xv
Then rebooted again.
Voila! It worked! Sometimes reading the documents on docs.sun.com pay off. I was just being too lazy to do it and gave up when I posted this. The solution is to check the services and ensure nfs/client is running correctly and then try rebooting again.
Similar Messages
-
[SOLVED] NFS share not mounting at boot
Hi All,
I have an NFS share listed in fstab and it doesn't mount at boot; however, when i mount -a, it mounts fine. Any thoughts?
Thanks.
Shawn
Last edited by shawn.abdushakur (2011-05-06 12:21:27)@damnshock: Good point . Here it is:
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
devpts /dev/pts devpts defaults 0 0
shm /dev/shm tmpfs nodev,nosuid 0 0
#/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
#/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
#/dev/fd0 /media/fl auto user,noauto 0 0
/dev/sda1 swap swap defaults 0 0
LABEL=arch / ext4 defaults 0 1
UUID=c1a8b2e0-bf9e-4382-ac4e-15c2aec65090 /srv/nfs ext3 defaults 0 0
/srv/nfs/shawn/Documents /home/shawn/Documents none bind
/srv/nfs/shawn/Downloads /home/shawn/Downloads none bind
/srv/nfs/shawn/Music /home/shawn/Music none bind
/srv/nfs/shawn/Pictures /home/shawn/Pictures none bind
/srv/nfs/shawn/Videos /home/shawn/Videos none bind
xbmc:/srv/nfs/watch /home/shawn/Downloads/torrents/watch nfs rsize=8192,wsize=8192,timeo=14,intr -
[SOLVED] NET_PROFILES=('menu') doesn't work at boot time
Hi I've created two network profiles to change eth0 configuration on my laptop according to where I am.
The problem is that NET_PROFILES=('menu') (in rc.conf) doesn't work at boot time: the profile select dialog doesn't appear.
It works only if I do a /etc/rc.d/network restart.
Here is the relevant part of my rc.conf
lo="lo 127.0.0.1"
eth0="eth0 192.168.0.3 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
gateway="default gw 192.168.0.1"
ROUTES=(gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up
# - prefix an entry with a ! to disable it
# Network profiles are found in /etc/network-profiles
NET_PROFILES=('menu') #### I tried even without quotes with the same result!!
By the way, I tried this on three different machines (one is always up to date, the others aren't) with the same result.
Last edited by proc (2007-04-15 14:00:57)iphitus thanks for your prompt reply, but I already have dialog installed. In fact the menu appears if I do a network restart, but it doesn't at boot.
-
I just upgraded from ios 5 to ios 6 on my ipad2. Now orientation doesn't work properly. Boot time increase, it takes longer time to boot. Is there any configuration to solve these issues? I can't understand the explanation with code and strings found on google to solve the orientation issue. Any easy configuration for dummy ?
It supports well for ios 5. I couldn't remember (5.x.x) exactly but I always keeps update for ios5 and the abnormality starts when I upgraded to ios 6.
-
Random NFS/CIFS drive mounting on boot
Hello, can someone please give me some insight as to where this drive is coming from? Everytime I restart my machine a CIFS drive mounts on my desktop and I cannot figure out where it is coming from, or how to prevent it from mounting. In the screenshot you will see that it says the server is an NFS://x-browser? What the heck is this? Any help would be appreciated.
Linc, Holding down command key does not work. Thanks for the suggestion.
Gerry, Parallels does not boot upon start-up. It only runs when I launch.
Interesting side-note: The desktop shows a CIFS drive, the sidebar shows it listed under shared and calls it "x-browser", and finally the finder shows "connected as: NFS"
Whoa, I hope that last bit makes sense. -
Zfs set userquota doesn't work on upgraded datasets?
Greetings all,
I put all the latest patches on a Solaris 10 system with zfs to and upgraded the zpool to version 15 and zfs to version 4 so I could use user-based quotas. When I try to set a userquota on an existing dataset, it takes the command but doesn't set up the quota. If I create a new dataset, then I can assign quotas to it. Does the userquota not work on existing datasets that have been upgraded? Here are the commands that illustrate the problem:
# zfs list
NAME USED AVAIL REFER MOUNTPOINT
data 50.7G 145G 50.7G /data
# zpool upgrade
This system is currently running ZFS pool version 15.
All pools are formatted using this version.
# zfs upgrade
This system is currently running ZFS filesystem version 4.
All filesystems are formatted with the current version.
# zfs set userquota@finleyc=50G data
# zfs get userquota@finleyc data
NAME PROPERTY VALUE SOURCE
data userquota@finleyc - -
# zfs create data/test
# zfs set userquota@finleyc=50G data/test
# zfs get userquota@finleyc data/test
NAME PROPERTY VALUE SOURCE
data/test userquota@finleyc 50G local
# zfs destroy data/test
Any ideas? Thanks!
TimCan you repeat the test and, before erasing the dataset, send the output for
# zfs userspace data/testCheers
Andy -
I have a ZFS rpool mirrored with 2 hard disks. I need to resize it with bigger capacity. Below is my questions;
1. Can we resize a mirrored rpool?
2. If yes, How? (Please provide me the source) Thanks.
3. If the rpool is using local disk and i have other storage LUNs can be attached... what is the best practice to increase the rpool size?
4. If resizing is not possible, can someone shed some light how could we migrate a mount point from rpool (local disk) to new pool (SAN storage). Please advise.
Thank you.Yes, it is possible to increase the root pool size by either attaching a larger disk and detaching the smaller disk or by using zpool replace to do an outright replacement. If you attach a disk from remote storage, so that you have a local disk and remote disk for a mirrored root pool, then there is a risk that if the remote disk is slow to come up after a boot, for example, the pool might be degraded. Similarly, if you use remote storage for both root pool disks. Forcing loading the drivers early in the boot process can help this.
Which Solaris 10 release is this?
Does the existing root pool disk have existing unused slices or is all the disk space in slice 0?
There is a way to expand the root pool disk slice if existing unused slices exist but its a bit more complicated, but I can walk you through it.
The doc that describes root pool disk replacement is here:
http://docs.oracle.com/cd/E23823_01/html/819-5461/ghzvz.html#scrolltoc
How to Replace a Disk in the ZFS Root Pool
Thanks,
Cindy -
Installing Solaris 10 with RAID + ZFS ?
Hi, i've recently built a home-made server for racking with a local co-location provider, I've currently got Fedora 9 on it, but would really wish to have Solaris 10 to get ZFS support.
Got a couple of questions before i wreck my fedora 9 install, if anyone would be so kind,
I've dowloaded the Solaris 10 5/08 iso and burned that to dvd ready for install. Now when I do install Solaris will it reformat the drives as default with ZFS support or is this something that has to be done afterwards, also with the x86 install will it be able to boot from ZFS?
Idealy I've got two identical drives on there for RAID 1 so for the entire machine to be using ZFS would be the ideal setup, running in headless with just SSH to connect.
Any thoughts?If you are running Solaris 10 U5, you can only have mirroring using svm, plus the root file system must be UFS.
However, you can make a slice in a zfs partition an mirror that (I wouldn't recommend using svm to mirror on
top of ZFS).
Opensolaris 2008.05 does zfs boot, and Nevada could do zfs boot since Build72 ( http://sol10frominnerspace.blogspot.com/2007/09/setup-zfs-boot-for-build-72.html ) - though bits and pieces were
not working o rmissing (like swap in a zvol). The big roll in was on Build94 ( http://www.opensolaris.org/os/community/on/flag-days/91-95/ )
so if you get the latest, your chances of running into any issues are lower.
-r -
Hi
in zone:
bash-3.00# reboot
[NOTICE: Zone rebooting]
SunOS Release 5.10 Version Generic_144488-17 64-bit
Copyright (c) 1983, 2011, Oracle and/or its affiliates. All rights reserved.
Hostname: dbspfox1
Reading ZFS config: done.
Mounting ZFS filesystems: (1/10)cannot mount '/zonedev/dbspfox1/biblio/P622/dev': directory is not empt(10/10 )
svc:/system/filesystem/local:default: WARNING: /usr/sbin/zfs mount -a failed: exit status 1
Nov 4 10:07:33 svc.startd[12427]: svc:/system/filesystem/local:default: Method "/lib/svc/method/fs-local" fa iled with exit status 95.
Nov 4 10:07:33 svc.startd[12427]: system/filesystem/local:default failed fatally: transitioned to maintenanc e (see 'svcs -xv' for details)
For sure the directory in not empty, but the others too are not empty.
bash-3.00# zfs list
NAME USED AVAIL REFER MOUNTPOINT
zonedev 236G 57.6G 23K /zonedev
zonedev/dbspfox1 236G 57.6G 1.06G /zonedev/dbspfox1
zonedev/dbspfox1/biblio 235G 57.6G 23K /zonedev/dbspfox1/biblio
zonedev/dbspfox1/biblio/P622 235G 57.6G 10.4G /zonedev/dbspfox1/biblio/P622
zonedev/dbspfox1/biblio/P622/31mars 81.3G 57.6G 47.3G /zonedev/dbspfox1/biblio/P622/31mars
zonedev/dbspfox1/biblio/P622/31mars/data 34.0G 57.6G 34.0G /zonedev/dbspfox1/biblio/P622/31mars/data
zonedev/dbspfox1/biblio/P622/dev 89.7G 57.6G 50.1G /zonedev/dbspfox1/biblio/P622/dev
zonedev/dbspfox1/biblio/P622/dev/data 39.6G 57.6G 39.6G /zonedev/dbspfox1/biblio/P622/dev/data
zonedev/dbspfox1/biblio/P622/preprod 53.3G 57.6G 12.9G /zonedev/dbspfox1/biblio/P622/preprod
zonedev/dbspfox1/biblio/P622/preprod/data 40.4G 57.6G 40.4G /zonedev/dbspfox1/biblio/P622/preprod/data
bash-3.00# svcs -xv
svc:/system/filesystem/local:default (local file system mounts)
State: maintenance since Fri Nov 04 10:07:33 2011
Reason: Start method exited with $SMF_EXIT_ERR_FATAL.
See: http://sun.com/msg/SMF-8000-KS
See: /var/svc/log/system-filesystem-local:default.log
Impact: 33 dependent services are not running:
svc:/system/webconsole:console
svc:/system/filesystem/autofs:default
svc:/system/system-log:default
svc:/milestone/multi-user:default
svc:/milestone/multi-user-server:default
svc:/application/autoreg:default
svc:/application/stosreg:default
svc:/application/graphical-login/cde-login:default
svc:/application/cde-printinfo:default
svc:/network/smtp:sendmail
svc:/application/management/seaport:default
svc:/application/management/snmpdx:default
svc:/application/management/dmi:default
svc:/application/management/sma:default
svc:/network/sendmail-client:default
svc:/network/ssh:default
svc:/system/sysidtool:net
svc:/network/rpc/bind:default
svc:/network/nfs/nlockmgr:default
svc:/network/nfs/client:default
svc:/network/nfs/status:default
svc:/network/nfs/cbd:default
svc:/network/nfs/mapid:default
svc:/network/inetd:default
svc:/system/sysidtool:system
svc:/system/postrun:default
svc:/system/filesystem/volfs:default
svc:/system/cron:default
svc:/application/font/fc-cache:default
svc:/system/boot-archive-update:default
svc:/network/shares/group:default
svc:/network/shares/group:zfs
svc:/system/sac:default
svc:/network/rpc/gss:default (Generic Security Service)
State: uninitialized since Fri Nov 04 10:07:31 2011
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: man -M /usr/share/man -s 1M gssd
Impact: 17 dependent services are not running:
svc:/network/nfs/client:default
svc:/system/filesystem/autofs:default
svc:/system/webconsole:console
svc:/system/system-log:default
svc:/milestone/multi-user:default
svc:/milestone/multi-user-server:default
svc:/application/autoreg:default
svc:/application/stosreg:default
svc:/application/graphical-login/cde-login:default
svc:/application/cde-printinfo:default
svc:/network/smtp:sendmail
svc:/application/management/seaport:default
svc:/application/management/snmpdx:default
svc:/application/management/dmi:default
svc:/application/management/sma:default
svc:/network/sendmail-client:default
svc:/network/ssh:default
svc:/application/print/server:default (LP print server)
State: disabled since Fri Nov 04 10:07:31 2011
Reason: Disabled by an administrator.
See: http://sun.com/msg/SMF-8000-05
See: man -M /usr/share/man -s 1M lpsched
Impact: 1 dependent service is not running:
svc:/application/print/ipp-listener:default
svc:/network/rpc/smserver:default (removable media management)
State: uninitialized since Fri Nov 04 10:07:32 2011
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: man -M /usr/share/man -s 1M rpc.smserverd
Impact: 1 dependent service is not running:
svc:/system/filesystem/volfs:default
svc:/network/rpc/rstat:default (kernel statistics server)
State: uninitialized since Fri Nov 04 10:07:31 2011
Reason: Restarter svc:/network/inetd:default is not running.
See: http://sun.com/msg/SMF-8000-5H
See: man -M /usr/share/man -s 1M rpc.rstatd
See: man -M /usr/share/man -s 1M rstatd
Impact: 1 dependent service is not running:
svc:/application/management/sma:default
bash-3.00# df -h
Filesystem size used avail capacity Mounted on
/ 59G 1.1G 58G 2% /
/dev 59G 1.1G 58G 2% /dev
/lib 261G 7.5G 253G 3% /lib
/platform 261G 7.5G 253G 3% /platform
/sbin 261G 7.5G 253G 3% /sbin
/usr 261G 7.5G 253G 3% /usr
proc 0K 0K 0K 0% /proc
ctfs 0K 0K 0K 0% /system/contract
mnttab 0K 0K 0K 0% /etc/mnttab
objfs 0K 0K 0K 0% /system/object
swap 2.1G 248K 2.1G 1% /etc/svc/volatile
fd 0K 0K 0K 0% /dev/fd
swap 2.1G 0K 2.1G 0% /tmp
swap 2.1G 16K 2.1G 1% /var/run
zonedev/dbspfox1/biblio
293G 23K 58G 1% /zonedev/dbspfox1/biblio
zonedev/dbspfox1/biblio/P622
293G 10G 58G 16% /zonedev/dbspfox1/biblio/P622
zonedev/dbspfox1/biblio/P622/31mars
293G 47G 58G 46% /zonedev/dbspfox1/biblio/P622/31mars
zonedev/dbspfox1/biblio/P622/31mars/data
293G 34G 58G 38% /zonedev/dbspfox1/biblio/P622/31mars/data
zonedev/dbspfox1/biblio/P622/dev/data
293G 40G 58G 41% /zonedev/dbspfox1/biblio/P622/dev/data
zonedev/dbspfox1/biblio/P622/preprod
293G 13G 58G 19% /zonedev/dbspfox1/biblio/P622/preprod
zonedev/dbspfox1/biblio/P622/preprod/data
293G 40G 58G 42% /zonedev/dbspfox1/biblio/P622/preprod/data
What i missed? what happen with zfs dev directory?
thank you
WalterHi
I finally found the problem.
ZFS naming restrictions:
names must begin with a letter
Walter -
My weather doesn't changes according to time
My weather doesn't changes according to time as after 12:00 am it will remain the same day
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
Also, the US daylight saving time starts tonight. Sometimes the iOS has problems around DST -
I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?
I have Elements 11. Sometimes, if I edit a photo in Elements Editor, the date gets changed to the current date. Why does that happen? It doesn't happen all the time, so I can't isolate the cause. Any ideas?
-
Help. I can´t slide to answer when the phone rings, and i´m missing a lot of phone calls! It doesn´t happens all the time but quite enough to be annoying. I´v restarted and updated it. Suggestions? Thanks
When you said you have no fax machines on your line, that does include computers directly connected to the phone line?
The reason that I ask is a computer with a dial-up modem (a non broadband modem) that can connect to your phone line, can have software that makes the computer act as a fax machine.
If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button. -
Does anyone get a vibration sound when talking on the iPhone6? It doesn't happen all the time and happens with talking to different people. I have tried to troubleshoot it, but can't find a answer.
Hey CEVYNBARRY!
Here is an article for you that will help you address this issue:
Troubleshooting "A connection failure has occurred", "The specified server could not be found" or similar messages
http://support.apple.com/kb/ts1843
Take care, and thanks for visiting the Apple Support Communities.
-Braden -
Safari show all tabs doesn't work all the time
It is annoying: safari show all tabs doesn't work all the time. The little icon to the right of the "New Tab" area sometimes works, and sometimes doesn't. The Shift Command Back-slash, sometimes works, and sometimes doesn't. I find no rhyme nor reason for this. I have a MacBook Pro, Mountain Lion, the latest updates. It doesn't matter if I am in Full Screen or not.
I am quite confused regarding this.Open the Finder. From the Finder menu bar click Go > Go to Folder
Type of copy paste the following:
~/Library/Caches/com.apple.Safari/Cache.db
Click Go then move the Cache.db file to the Trash.
Quit and relaunch Safari to test.
If that helped, empty the cache more often from your keyboard.
Command + Option + E -
Optical drive doesn't work all the time
My optical drive doesn't mount movies i bought on dvds. IT'S like it has a mind of its own, it only plays movies when it feels like it and forget any install dvds like Snow Leopard, printers etc...! What's the problem with it? I cleaned it and all my dvds are like brand new, no scratches or any thing.
Hello marinfo
Welcome to Apple Discussions
It is normal for all the fans to be running all the time.
If your iMac is making noise, then there is something wrong and you need to take it in for service.
Dennis
Maybe you are looking for
-
What is difference between interactive list and interactive reports?
what is difference between interactive list and interactive reports?
-
Hi! I'm just having a little trouble when it comes to battery charging of my iPhone 5 with its new iOS 7! It doesn't indicates that the battery is fully charge unlike the old version of iOS! I already read some reviews and discussion about this. They
-
New to Iweb and have some questions
Hello, I am attempting to build a website for the first time using Iweb 3.0.2. The first 3 pages of the site were built and uploaded using Iweb. There were some issues that my father-in-law corrected using a html editor on his PC. After making the ch
-
Error while running MM17 Transaction
Hi Frnds, I am doing MM17 Mass transaction Field (MBEW-VPRSV ) , i am changing the price control of a material from V to S then i am getting an error saying that : ELF-WJ-35MM-CSM1 : Messages have been issued: number MASS000484000000. Regards Rakes
-
Running reports in background?
hi, is it possible to run reports in background? i'm trying to find a way where in i can run / submit a process/procedure/report then go back to it after its done. this will help me allow do some other things while waiting for a report to finish. has