mount full


 
Thread Tools Search this Thread
Operating Systems Solaris mount full
# 1  
Old 09-01-2008
mount full

Hi

Is there a way to protect a certain mount from being full?

the main reason is that users do tar -xvf or gunzip. Is there a way to deny these 2 commands under this mount?

other suggestions?

thank you.
# 2  
Old 09-01-2008
There is a concept called quotas which can be applied to a particular mount point.
See 7.Managing Quotas (Tasks) (System Administration Guide: Advanced Administration) - Sun Microsystems
# 3  
Old 09-02-2008
Good one though...
But for your request, you can either have auditing in placed or have a script to search thru and remove large .tar or .gzip files in user home directories .Smilie
# 4  
Old 09-02-2008
hi

actually all users logs in as a single user so I don't think that quota will work in my case.

could you please elaborate more on the audit thing?

I want to rmove the deflated files: unzipped and untarred.


thank you
# 5  
Old 09-03-2008
Use can use this in your script:
-- remove core files
find / -name core -exec rm -f {} \; -o -fstype nfs -prune

OR
find / -name '*.tar' | xargs rm Smilie
# 6  
Old 09-03-2008
Quote:
Originally Posted by incredible
find / -name '*.tar' | xargs rm Smilie
Ouch ...
Start with the mount point, not /
At least suggest "rm -i"
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

How to create a new mount point with 600GB and add 350 GBexisting mount point? IN AIX

How to create a new mount point with 600GB and add 350 GBexisting mount point Best if there step that i can follow or execute before i mount or add diskspace IN AIX Thanks (2 Replies)
Discussion started by: Thilagarajan
2 Replies

2. AIX

100% Inode full with only 67% FS full.

AIX Version 6.1 and 7.1. I understand that when the OS initially creates the FS and inodes, its pretty strict, but not always tuned to a 1:1 ratio. I see the same thing when adding a whole disk LV to a separate device. It seems that when we expand a filesystem the inodes don't get tuned... (5 Replies)
Discussion started by: mrmurdock
5 Replies

3. 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

4. Red Hat

/ is full

/ has become full.... So i'm unable to login to the server. What should i do now ?? please help me... Thanks in advance (4 Replies)
Discussion started by: vamshigvk475
4 Replies

5. Shell Programming and Scripting

How to extract strings from full path when full path is not fixed

/Path/snowbird9/nrfCompMgrRave1230100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird6/nrfCompMgrRave1220100920.log.gz:09/20/2010 06:14:51 ERROR Error Message. /Path/snowbird14/nrfCompMgrRave920100920.log.gz:09/20/2010 06:14:51 ERROR Error Message.... (0 Replies)
Discussion started by: Shirisha
0 Replies

6. IP Networking

Can't see home folder on one NFS mount but can in another mount on another share

Hello, I have a few Ubuntu 9.10 laptops I'm trying to learn NFS sharing with. I am just experimenting on this right now, so no harsh words about the security of what I'm playing with, please ;) Below are the configs /etc/exports on host /home/woodnt/Homeschool... (2 Replies)
Discussion started by: Narnie
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. UNIX for Dummies Questions & Answers

mount -o llock -F nfs vs mount -F nfs

Hi, We encountered NFS issue (solaris) especially running on Oracle application. Problem such as forms hang when close button is click, concurrent job shows running status all time. Understand we need to use mount -o llock -F nfs instead of mount -F nfs to eliminate? this problem.. Can... (1 Reply)
Discussion started by: KhawHL
1 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
Login or Register to Ask a Question