Mount option


 
Thread Tools Search this Thread
Operating Systems Solaris Mount option
# 1  
Old 12-19-2006
Mount option

Can i able to mount a directory with specific size in solaris 10.

for eg:

mount -o size=5g /test /test1

Thanks.
# 2  
Old 12-19-2006
you can do something like that with zfs.... read "man zpool" and "man zfs"
# 3  
Old 12-20-2006
The mount command has different options depending on what filesystem you want to mount. The size option is not available for a ufs but it is available for a tmpfs.

For more info:
Code:
man mount_tmpfs
man mount_ufs

Tornado
# 4  
Old 12-20-2006
Hi ,

Thanks a lot for your replies.
# 5  
Old 12-20-2006
tmp

Just as an added FYI....

you can actually specify the size setting in /etc/vfstab like so.

swap - /tmp tmpfs - yes size=500m

It should mount with a size limit of 500 Mb.

-S
# 6  
Old 12-27-2006
Is it available for pcfs ?
# 7  
Old 12-27-2006
Quote:
Originally Posted by XP_2600
Is it available for pcfs ?
Looking at the man page for mount_pcfs , it looks like it is not available.
Tornado
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. OS X (Apple)

Copy files between partitions with "without auto-mount" option enabled - possible?

Hello, fellow Unixers and Macers, I'll run several OS X versions each on its own dedicated partition. Partitions won't be seeing each other (by editing fstab). Question: will I be able to copy files between those partitions? Partition #1: Mavericks. Partition #2: HighSierra (2 Replies)
Discussion started by: scrutinizerix
2 Replies

2. Solaris

Unrecognized option: sparc-sun-Solaris2.10/bin/as: unrecognized option `-m32'

Hi, I installed some packages required by an app built with python. But when I try python setup.py install, I get the following error: /opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32' Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies

3. Solaris

Mount with 'noatime' option

Is it safe to mount all ufs slices with 'noatime' on SPARC Solaris 10 running Oracle database? (5 Replies)
Discussion started by: orange47
5 Replies

4. Shell Programming and Scripting

Script to mount nas-share using generated credentials (mount EC 13,32)

Heyas At home i have 1 nas with 3 shares, of which i used to mount 2 of them using a script with hardcoded password and username in it. EDIT: Turns out, its not the script, but 'how i access' the nas share.. (-o user=XY,password=... VS. -o credentials=...). Figured about credential files,... (0 Replies)
Discussion started by: sea
0 Replies

5. AIX

Enable large filesize option in NFS mount in AIX 4.3

Hi All, I have a NFS mount filesystem, however it is not supporting a creation of filesize greater than 2 GB in it, how can i enable the option (bf = true) in it. The AIX version is 4.3.2 Thanks in Advance!! (1 Reply)
Discussion started by: mad_man12
1 Replies

6. Shell Programming and Scripting

recently introduced to the newer option for find...does an older option exist?

To find all the files in your home directory that have been edited in some way since the last tar file, use this command: find . -newer backup.tar.gz Is anyone familiar with an older solution? looking to identify files older then 15mins across several directories. thanks, manny (2 Replies)
Discussion started by: mr_manny
2 Replies

7. UNIX for Advanced & Expert Users

mount -t cifs permission denied by mount -t smbfs works fine

I am having trouble mounting with cifs, but mounting the exact same command with smbfs works fine. The share is on another samba server and is set to full public guest access. # mount -t cifs //servername/sharename /mnt/temp -o password="" mount error 13 = Permission denied Refer to the... (3 Replies)
Discussion started by: humbletech99
3 Replies

8. Solaris

noatime option is not working with mount

Hi Gurus, I mount a filesystem with -o noatime option to avoid getting the recording of time into the inode, however as on when i am doing any chnage in any file create in this file system the timestamp of the file is changing, whcih i can see with ls -l :(. What can be the reason ? i... (4 Replies)
Discussion started by: kumarmani
4 Replies

9. Shell Programming and Scripting

option followed by : taking next option if argument missing with getopts

Hi all, I am parsing command line options using getopts. The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument. Below is the script: while getopts :hd:t:s:l:p:f: opt do case "$opt" in -h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies

10. 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
Login or Register to Ask a Question