Mount and vfstab

New to Solaris, be gentle.
I have installed, sliced and built a FS on a new SCSI drive, I then mount this to an empty directory on root using:
mount -F ufs -o logging /dev/dsk/c1t2d0s1 /DirName
All is well, until I reboot and I have to remount this again as it did not 'stick' after the reboot. I can modify the the vfstab file and this seems to have done the trick.
My question is, isn't there a way to use the mount command to make mount points 'stick' after a reboot? Shouldn't my using the mount command place an entry in the vfstab file? Am I missing something or am I going to have to open the vfstab file and modify it everytime I want a new mount to 'stick'?
thanks in advance

As mentioned, yes, you need to edit the vfstab for every new UFS file system. You can make you life a little easier with 'mount -p' which will print out all you existing mounts in a vfstab friendly format:
# mount -p
/dev/dsk/c0t0d0s0 - / ufs - no rw,intr,largefiles,logging,xattr,onerror=panic,suid
/proc - /proc proc - no
mnttab - /etc/mnttab mntfs - no
fd - /dev/fd fd - no rw,suid
/dev/dsk/c0t0d0s5 - /var ufs - no rw,intr,largefiles,logging,xattr,onerror=panic,suid
swap - /var/run tmpfs - no xattr
swap - /tmp tmpfs - no xattr,size=512m
/dev/md/dsk/d2 - /opt ufs - no rw,intr,largefiles,logging,xattr,onerror=panic,suid
Do not just copy the entire output into your vfstab, or redirect the output into your vfstab. Copy only the line pertaining to your new file system. You could maybe do something like:
# cp /etc/vfstab /etc/vfstab.20090510
# mount -p | grep [my new file system] >> /etc/vfstab
# vi /etc/vfstabAnd confirm it looks Ok. Notice the double ">". Very important! E.g., You've created a new file system on c2t0d0s0:
# cp /etc/vfstab /etc/vfstab.20090510
# mount -p | grep c2t0d0s0 >> /etc/vfstab
# vi /etc/vfstabOr, use ZFS everywhere and let it do all the work.

Similar Messages

  • I upgraded my pages '09 to 5.0.1 and now can't open an old saved doc because the volume "Untitled" isn't mounted and I should mount it and try opening again. What do I do??

    I am writing a paper and cant open it. I can only find it from file on the top on my screen > open recent... and then a message pops up saying thatI couldn'y open "CSI Milton" because the volume "untitled" couldn't be mounted and it says that I should mount it and try openning the application again. WHAT DO I DO!?!?!

    Can you open the same file with Pages '09?
    Peter

  • All downloads failing to mount and iTunes not recognising iPod!

    My iBook G4 (Model No A 1055) needs alot of updates however i can't install anything. It downloads to the Desktop fine but when i go to open the attachment so i can actually install it a message comes up saing "The following disk images failed to mount" and the reason is a "corrupt image". I have tried to do this with Firefox, iTunes and Adobe and they all say the same!
    I also now have issues with iTunes (7.2) which is all of a sudden not recognising my iPod shuffle (2nd gen). It doesn't come up in devices or anything when plugged in my iPod shuffle will just flash orange a few times and then nothing. I have tried to connect it to another (and much newer) Mac computer however it doesn't recognise it on there either.
    Has technology just got so good my lappy is basically extinct and i need a new one or is there something i / Apple can do to help get me up to date with everything? Any help and feedback would be really appreciated.
    Thanks
    Louise

    if you are running OS 10.3, it's pretty much obsolete
    you can try getting OS 10.5 installed, but it can slow down the computer, 10.4 is not much use anymore either.

  • Hello. I have a problem with OEL 6.5 and ocfs2. When I mount ocfs2 with mount -a command all ocfs2 partitions mount and work, but when I reboot no ocfs2 partitions auto mount. No error messages in log. I use DAS FC and iSCSI FC.

    Hello.
    I have a problem with OEL 6.5 and ocfs2.
    When I mount ocfs2 with mount -a command all ocfs2 partitions mount and work, but when I reboot no ocfs2 partitions auto mount. No error messages in log. I use DAS FC and iSCSI FC.
    fstab:
    UUID=32130a0b-2e15-4067-9e65-62b7b3e53c72 /some/4 ocfs2 _netdev,defaults 0 0
    #UUID=af522894-c51e-45d6-bce8-c0206322d7ab /some/9 ocfs2 _netdev,defaults 0 0
    UUID=1126b3d2-09aa-4be0-8826-0b2a590ab995 /some/3 ocfs2 _netdev,defaults 0 0
    #UUID=9ea9113d-edcf-47ca-9c64-c0d4e18149c1 /some/8 ocfs2 _netdev,defaults 0 0
    UUID=a368f830-0808-4832-b294-d2d1bf909813 /some/5 ocfs2 _netdev,defaults 0 0
    UUID=ee816860-5a95-493c-8559-9d528e557a6d /some/6 ocfs2 _netdev,defaults 0 0
    UUID=3f87634f-7dbf-46ba-a84c-e8606b40acfe /some/7 ocfs2 _netdev,defaults 0 0
    UUID=5def16d7-1f58-4691-9d46-f3fa72b74890 /some/1 ocfs2 _netdev,defaults 0 0
    UUID=0e682b5a-8d75-40d1-8983-fa39dd5a0e54 /some/2 ocfs2 _netdev,defaults 0 0

    What is the output of:
    # chkconfig --list o2cb
    # chkconfig --list ocfs2
    # cat /etc/ocfs2/cluster.conf

  • What's Happening?? Some days after installing latest security up date for 10.5.8 on G4, both inernal CD/DVD drives failed to mount disks other than a cleaning disk which mounted and was imported into iTunes.No other CD or DVD disk will mount.

    What's Happening?? Some days after installing latest security update for 10.5.8 on G4, both inernal CD/DVD drives failed to mount disks other than a cleaning disk which mounted and was imported into iTunes. No other CD or DVD disk will mount.Is this a unique experience?

    Hello Robert,
    First, Safe Boot , (holding Shift key down at bootup), use Disk Utility from there to Repair Permissions, test if things work OK in Safe Mode.
    Then move these files to the Desktop...
    /Users/YourUserName/Library/Preferences/com.apple.finder.plist
    /Users/YourUserName/Library/Preferences/com.apple.systempreferences.plist
    /Users/YourUserName/Library/Preferences/com.apple.desktop.plist
    /Users/YourUserName/Library/Preferences/com.apple.recentitems.plist
    Reboot & test.
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.

  • I recently tried to erase a seas gate expansion external harddrive and when i did all that shows up in disk utility now is something called expansion and all my opitions are greyed out in the partation tab, it doesnt mount and idk what to do please help,

    when i did all that shows up in disk utility now is something called expansion and all my opitions are greyed out in the partation tab, it doesnt mount and idk what to do please help.
    Running macbook pro 2.53ghz late 2010
    mountain lion
    8gbs mem

    I would try it on a PC and see if you can format it, then put it back on the Mac and try again. If it's not seen on a PC, then there's the strong likelihood that there's a hardware issue; either the bridge/chip set or the HD itself is dying/dead. There's also the small possibility that the cable is faulty, so I'd try a different cable too.

  • Tiger randomly stopped allowing my External Hard drive to mount and...

    Hello, I have been using an External Hard Drive (1 terabyte Seagate, new) for a couple months if not a year by now for saving movies, and all of my iTunes on it. Its been working wonderfully. However it recently stopped being able to mount citing invalid hard drive and gives me the options of either eject, ignore, or initialize. Im not sure what to do. And also my computer has been acting funny every since the day it started. I will walk you through it step by step.
    July 6th I was surfing the web and unfortunetly clicked on a link that aparently contained a trojan. Or atleast thats what my Antivirus notified me of. I had downloaded the trojan some how without a pop up or anything telling me I was downloading anything. (using safari) So i ran a virus scan and saw one virus was in my system and that it couldnt be deleted or repaired by my antivirus program, Im working on getting rid of that but at the time I had my Seagate 1 terabyte external hard drive attached via fire wire to my Macbook. It was working then.
    Later that day I unplugged my hard drive and took my laptop around a little bit, nothing unusual. Then when i came back later that night I tried plugging in my hard drive and a pop up stated that the hard drive was unable to mount and I could either eject, ignore, or initilize. I tried may different routes, restarting, letting it all rest, etc. And in Disk Utility i try to verify the disc and it says its unable to and needs repairs. So I try repairing the disc and it says unable to due to an error.
    Then yesterday I went to my applications and noticed none of my applications are there anymore. These applications were saved on the internal hard drive so it was very odd to me. However i can still use spotlight to find and open my apps.
    My question is, What can I do to allow my external hard drive to mount? I dont figure it is the trojan on my system but could it be? If so how would I fix it? Im mostly worried about getting the data off the external hard drive then I can reformat it. Or if theres a way to just get it back to normal without reformatting Id love to hear it. As for the applications missing and the trojan on my internal hard drive I can fix that, at the very least Ill just reboot my system with my original OS Disc and just start fresh, its about time anyways.
    But please. If anyone has ever had their external hard drive just stop mounting and figured out what to do I would be ever so grateful to hear how you did so. The hard drive itself isnt damaged, its not making any unusual sounds. Whenever i plug it into the computer it acts like normal (turning on and what not) until the computer tells me it cannot mount then nothing happens. Ive looked online and it seems to be a software issue.
    If its any help I was downloading a torrent (.avi, no viruses) at the time. I know sometimes if one file on the hard drive becomes corrupt the whole thing becomes unusable. Regardless I would appreciate it if anyone knows a way to at the very least retreive the files on the drive, but preferably know how to just get it back to normal. If i could get it to force mount (via terminal or something) I know which file would possibly be the corrupt one or something so I could work with it.

    Bejan:
    Thanks for posting back with the pics of the messages from your computer. Disk Utility reports "Underlying task reported failure" when repairing a volume is a directory error which cannot be repaired by Disk Utility. Unfortunately, Disk Warrior may not be able to replace the rebuilt directory, either. Tech Tool Pro has a better chance of repairing it, although this particular directory issue can be stubborn, and is often rooted in a hardware issue. Your surest bet is to backup/clone the information on the HDD using a utility like SuperDuper or Carbon Copy Cloner, completely reformat and erase the HDD (directions below), then restore data from backup.
    Formatting, Partitioning Erasing an External HDD
    • Connect external HDD to computer
    • Turn on external HDD
    • Start up computer and log in
    • Go to Applications > Utilities > Disk Utility and launch DU.
    • Select your HDD (manufacturer ID) in left side bar.
    • Select Partition tab in main panel.
    • Click on Options button
    • Select Apple Partition Map (PPC Macs) or GUID Partition Table (Intel Macs)
    • Click OK
    • Select number of partitions in pull-down menu above Volume diagram.
    For more partitions than one, after you have selected the number of partitions adjust the size of the partition by selecting the top partition and typing in the size; then move down if more adjustments need to be made.
    (See Dr. Smoke’s FAQ Backup and Recovery for tips on partitioning external HDD)
    • Type in name in Name field (usually Macintosh HD)
    • Select Volume Format as Mac OS Extended (Journaled)
    • Click Partition button at bottom of panel.
    • Select Erase tab
    • Select the sub-volume (indented) under Manufacturer ID
    • Check to be sure your Volume Name and Volume Format are correct.
    • Click Erase button
    • Repeat above procedure to erase each partition
    • Quit Disk Utility.
    cornelius

  • Problems with External Hard drive, will not mount and errors in disk utilit

    i have a powerbook g4 aluminum. i have an external hard drive for it. a simple tech 100gig portable drive, almost brand new. i dont know what happened to it, but one day i was starting my computer up with it attached. it wounldnt fully start up, said "waiting for local disks" so i uplugged the external hard drive. now it wont mount and will only show up in the disk utility of my friends macbook. i tried to verify and repair, and this is the message i got.
    Verify and Repair disk “UNTITLED”
    ** /dev/disk1s1
    could not read boot block (Input/output error)
    Error: The underlying task reported failure on exit
    1 non HFS volume checked
    1 volume could not be repaired because of an error
    Im in mexico writing a book and so i really need help on this one guys.

    Hi, hjbugs, and welcome to Apple Discussions. Disconnecting the drive while your Powerbook was accessing it probably caused your problem. It may be repairable using DiskWarrior or TechTool Pro, but if you don't have access to one of those and aren't going to buy one, reformatting the drive with Disk Utility may be the only other way to make it usable again. If it contains data you need to recover first (i.e., data that isn't also stored on your internal HD or other storage media), download the free demo version of one of the data recovery utilities mentioned in this thread and use it to see what is recoverable. If the files you need are recoverable, buy the full version of one of the utilities and recover them.

  • My external HD stopped showing up on my desktop, but shows up in my Disk Utility.. I have tried a disk verify and repair - sometimes that works and completes, sometimes it doesn't. Either way, it wont eject or mount, and still doesn't show up on desktop.

    My external HD stopped showing up on my desktop, but shows up in my Disk Utility..
    I have tried a disk verify and repair - sometimes that works and completes, sometimes it doesn't.
    Either way, it wont eject or mount, and still doesn't show up on desktop.
    There are no ticking noises coming from the hard drive, and it lights up still, and i have tried replacing the cords, and restarting/shutting down the computer, and have tried it on a mac desktop also - same problem.
    Any help would be great!!!

    and have tried it on a mac desktop also - same problem.
    Try this on one of the Macs ...
    Open a Finder window. From the menu bar click Finder > Preferrences
    Select the General tab then select:  Show External Disks

  • Tried to insert a small (3") CD in MacBook Pro. It wouldn't mount and can't eject it. Solutions?

    Tried to insert a small (3") CD in MacBook Pro. It wouldn't mount and can't eject it. Solutions?

    Might be good to shut down.
    Try shaking the devil out of it or  I would take it to an Apple Retail Store or an Apple Authorized Service Provider  (AASP) for evaluation, or call your nearest Apple Contact Center. Visit the Genius Bar at the Apple Retail Store,  make a reservation.
    https://discussions.apple.com/message/15199134#15199134

  • How to mount and get file on my external drive

    I have a external hdd drive(size 500GB) using FAT32 system. There are two partition actually. But I can only mount and read the one (disk1s2). (disk1s3)
    had existing file I want to read but I can't mount. How can I do? see below
    /dev/disk1
       #:                       TYPE NAME                    SIZE       IDENTIFIER
       0:     FDisk_partition_scheme                        *500.1 GB   disk1
       1:                       0xEE                         209.7 MB   disk1s1
       2:                 DOS_FAT_32 GASPARDMAC1             248.7 GB   disk1s2
       3:                       0xEE                         251.2 GB   disk1s3

    Normal database access is via JDBC.
    http://java.sun.com/docs/books/tutorial/jdbc/index.html
    To use that JDBC driver is needed to access the database. Databases in wide usage all have one. It isn't clear from your posting that you have a common database though.

  • Home DVD goes in, spins, does not mount, and then ejects. It does play on an old Windows PC.

    Hi. I have a MacBook and I am able to play purchased DVDs just fine. However when I try to play the home DVDs my brother burned for me on his new MacBook Pro it doesn't work. The DVD goes in, spins, does not mount, and then ejects. It plays on an old Windows PC though. Very strange. Help!

    I know your frustration, so happy I still own a PC just so I can burn any DVD I might still need!
    I was told at the Apple store to go buy an external l0l
    How awesome is THAT ...Yah you just paid an INSANE amount of cash for a CRAP laptop so now go out and spend MORE money on getting an external DVD burner so your expensive laptop can burn/play DVD's
    YAY APPLE... wtg at putting out a quality product!
    PS so fantastic to see all the responses to your cry for HELP here!

  • Mounting and Unmounting USB drives [Solved]

    HI there:
    I want a program like in KDE that will automaticly mount and allow me to click to unmount my usb drives. I am building machines and I need them to be user friendly and fast. I am running openbox 3.5 with a lxpanel right now. Also how do you allow users to access the usb drives. Here is an example of an error. I am logged in as usera. I fire up shotwell plug in my camera. It detects it I click on the camera and it says
    "Shotwell
    Unable to fetch previews from the camera:
    I/O problem (-7)"
    I log in as root it works perfectly. I hope this all makes sense.
    Last edited by mich04 (2011-10-27 23:36:30)

    AliWam wrote:
    How do you start openbox?
    I am using startx with this ~/.xinitrc
    exec ck-launch-session dbus-launch openbox-session
    and it works well.
    Have a look here.
    Nice!  I just installed Xfce on my new netbook (I use awesome WM and a different automounting solution for my other Arch box) and adding "dbus-launch" right before "startxfce4" on the line that reads:
    "exec ck-launch-session dbus-launch startxfce4"
    fixed my problem.
    I'm a little confused though, in the wiki it says that, "In case you are wondering, dbus-launch will be launched by the xinitrc.d code at the beginning of the file...."  https://wiki.archlinux.org/index.php/Xfce
    My .xinitrc is functionally the same as the example in the wiki, so I had thought that somehow dbus-launch wouldn't be necessary.  Oh well, it's working now and that's all that matters, thanks for your suggestion AliWam!

  • Simple question about mount and delay script

    Hello, I have a simple question about mounting volumes on start up.
    My computer wakes up auto - and then auto there are serveral applescript tasks (mount and start up programs)
    I use this script (daily) for serveral connections with external volumes I always need the connect to. ( In the script I use this code 3 times for other locations) I do this on start up.
    set Uname to "XXX"
    set Pword to "XXX"
    set someVolume to "afp://XXX.XXX.XXX.XXX/XXX/XXX
    mount volume someVolume as user name Uname with password Pword
    (same code for 2 other locations)
    When i do this on start up sometimes the script says there is no connection possible. I guess it's because on start up the connection isn't there. And 1 minute later when computer is total ready the connection is ok. When I run the script then It works. Just sometimes ( In the morning) 'It' want to connect but the script stops. When i do it manually(I run the script again) it works just fine.
    Is it possible that I need a delay? Can someone explain this?
    How would I make a delay handler for this script? Is that the best solution?
    Thanks in advance. This is something small i'm wondering about.
    Colin

    BTW, If you saved the script as an application +(and not as an application bundle)+ you could drop the script on to *Drop Script Backgrounder* (freeware).
    Then the script would run in the background, so, you wouldn't see it running in the Finder.
    <http://www.macupdate.com/info.php/id/7922/drop-script-backgrounder-x>
    Tom

  • HDD doesn't mount and doesn't repair

    Hello support,
    I am in big trouble I think:
    My second internal HDD doesn't mount and is useless right now.
    I did data recovery with Techtool onto an external drive and first of all everything looked good because the files were produced with their right sixes. When it was all done though, opening one of those files produced the line: "document could not be read. the document does not have a valid format".
    Do you have any advice to give me?
    Thank you

    Hi danpa, and a warm welcome to the forums!
    There' another you might try too, FileSalvage is an extremely powerful Macintosh application for exploring and recovering deleted files from a drive or volume. FileSalvage is designed to restore files that have:
        * been accidentally deleted.
        * become unreadable due to media faults.
        * been stored on a drive before it was re-initialized/formatted.
    http://subrosasoft.com/OSXSoftware/index.php?mainpage=product_info&productsid=1
    http://discussions.apple.com/thread.jspa?messageID=11073082#11073082
    And of course I'd be Remiss if I didn't mention DiskWarrior though, and it's Scavenge function.
    http://www.alsoft.com/DiskWarrior/
    BTW, you might enjoy these DiskWarrior review/recommendations...
    http://discussions.apple.com/thread.jspa?messageID=9645801&#9645801
    http://discussions.apple.com/thread.jspa?messageID=10541019#10541019
    http://discussions.apple.com/thread.jspa?messageID=11918925&#11918925
    http://discussions.apple.com/thread.jspa?messageID=12684129#12684129
    http://discussions.apple.com/thread.jspa?messageID=12744794&#12744794

Maybe you are looking for

  • Error during Step14 of Portal installation

    Hi, When I run Oracle 9iAS Portal 3.0 Configuration Assistant, I get the following error: STEP 14 : Installing seed data for all layers INSTALL_ACTION: installSeedData() : ..\..\bin\sqlplus portal32/ portal32@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROT

  • Forms application not opening for the end user.

    I have an Oracle Form that works fine when I copy the url into the browser and user the login credentials of the schema owner. But when I use the credentials of the end user, it does not open the form. I receive no error messages. To troubleshoot, I

  • Error message when inserting table into JSP

    I am using JDEV 10.1.3.3 and am getting the following error message when I try to create a table in a form on a jsp: "Could not complete get pdusage from application because it would result in an invalid document". Here is the stack trace: oracle.bal

  • Huge iPhoto Library - 2 External Hard Drive + Time Machine

    I have a massive iPhoto library on my macbook pro and am adding about 10GB in photos per year. I currently have an external hard drive used as a backup only for Time Machine. Is it best to purchase an additional hard drive and run iPhoto directly fro

  • Issue with Sound Configuration

    What I am doing wrong with my sound / published file? It has been difficult to find a good video quaality/sound download configuration / Combination: The video is really good!! https://skydrive.live.com/redir?resid=1C690B4E4531C4D6!111 Here is the co