solaris 8 admin I text ambiguities on mount and umount


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers solaris 8 admin I text ambiguities on mount and umount
# 1  
Old 10-10-2002
solaris 8 admin I text ambiguities on mount and umount

i'm prepping for my midterm, which i will bomb. i am scurrying to finish reading the final chapter before i get down into the review.

however, i came across something in chapter 8 - "mounting file systems" that has me really confused.

the text says the following:

Quote:
The root user can uset this command to manually mount every file system in /etc/vfstab that has a yes in the mount at boot field. for example:

# mountall
then it goes on to say,

Quote:
To mount only the local file systems specified in the /etc/vfstab file:

# mountall -l
now what's up with this... i thought it said that the "mount" command will mount everything in vfstab that has a yes in the mount at boot field. if this is the case, what's up with the "-l" which says that it will do the same.

maybe i'm not seeing something where it talks about "only the local file systems" .

can someone please explain the differences between using mountall with the -l and without the -l?

the same thing is said when talking about the umountall.

Quote:
This command can be run by root to manually unmount all the file systems listed in /etc/mnttab. For example:

# umountall

To unmount all local file systems specified in the /etc/mnttab file:

# umountall -l
again with the -l command... what's the deal with -l? what makes the command different with and without this option?
# 2  
Old 10-10-2002
-l means to limit the the action to the local filesystems, some entries in the /etc/vfstab file could be remotely mounting filesystems.

So mountall will mount local and remote filesystems setup in the /etc/vfstab file whilst mountall -l will only mount the local filesystems.

Could be you store the application databases on a remote server. By using the mountall -l on boot up the databases will not be there.

any clearer?

Mark
# 3  
Old 10-10-2002
Quote:

clearer?

Mark [/B]
waterford crystal bro....

much much much obliged. Smilie especially for the example.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. HP-UX

Test cases for file system mount/umount performance in HP

Hi Folks, Could anyone please assist me with the what could be the scenarios to test the file system mount/umount performance check in HPUX. Thanks in advance, Vaishey (5 Replies)
Discussion started by: Vaishey
5 Replies

2. Solaris

I need some help from a Solaris admin

OK I have a Solaris 10 Sparc running on a SUN T3-1 and the scsi driver is missing for the drive the root is on so it won't boot. I need to know if the following procedure is what I need to do to add the driver to get the system back up and running? {0} ok boot -F failsafe # mount... (0 Replies)
Discussion started by: trinityforce
0 Replies

3. Fedora

What is the right way to mount and umount a usb driver?

I have some questions: 1, I successfully mounted my usb drive with "sudo mount /dev/sdb1 /mnt", but I can't wirte, It says "read-only file system". But I can write it in windows. 2, After I umounted the usb drive the led of it still on, but not blinking. Is it safe to unplug it? How to let it's... (17 Replies)
Discussion started by: vistastar
17 Replies

4. UNIX for Dummies Questions & Answers

Simple way to umount NFS mount in linux

Hello... I've mounted a share using standard nomenclature for the NFS mount command with the following command line: mount -t nfs -o rw {IP address1}:/ /mnt_for_70 / {IP address2}(rw) mnt_for_70 is a mount point I created on {IP address2} I'm confuse and want to be sure I use the... (1 Reply)
Discussion started by: blaine.miller
1 Replies

5. Cybersecurity

Remove need for sudo for mount/umount

Hello, I'm trying to remove the need to use sudo to mount (in particular, binding). Modifying /etc/sudoers using visudo, I have tried: %admin ALL=NOPASSWD: /usr/bin/mount %admin ALL=NOPASSWD: /usr/bin/umountand %admin ALL=(ALL) NOPASSWD: /usr/bin/mount %admin ALL=(ALL) NOPASSWD:... (5 Replies)
Discussion started by: Narnie
5 Replies

6. Solaris

mount & umount in sigle-user mode

In Solaris 8, when I boot to single user mode, mount a device and then reboot or init 0, the system unmount it automatically. However, in Solaris 10 it does not seem to do the same. Here is what I did: {0} ok boot -s # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0.... (11 Replies)
Discussion started by: StarSol
11 Replies

7. Solaris

force umount in solaris 2.6

Hi All, Can someone share with me how to force umount in solaris 2.6? Thanks Leong (3 Replies)
Discussion started by: bkleong
3 Replies

8. Linux

How to mount/umount disk from a non-root account

Is it possible to mount a disk from a non-root account? I'm developing a Java application which executes commands in the shell using the java.lang.Runtime.exec api, which runs fine for commands ls, df, etc., but for commands mount and umount, i have problems as I need to be root to eecute these.... (8 Replies)
Discussion started by: brendan76
8 Replies

9. UNIX for Dummies Questions & Answers

how to mount a hotswap scsi drive on a solaris 2.6 netra box using the mount command?

Hi... question is this: How do I mount an LVD hotswap scsi drive in bay #2 on a netra using the mount command? volmgt doesn't seem to mount it and/or I don't know how to view the drives data if it's formatted which it may not be. This drive is not new out of the box so I'm not sure. ... (4 Replies)
Discussion started by: soulshaker
4 Replies

10. UNIX for Dummies Questions & Answers

Writing a script to mount and umount a drive in Linux

I have a 1 GB jazz drive. The jazz disk is used daily, both at home and at work on my Win 98 Server. So, I have to keep it in vfat format, which is fine because Linux rocks and will read it no problem. :-) However, I can't just stick the disk in the drive and open up the jazz folder in my mnt... (2 Replies)
Discussion started by: wizkid
2 Replies
Login or Register to Ask a Question