CentOS 5 :: Disk Quota On NFS Mount?
Apr 24, 2010
I am wondering if I can set diskquota on a nfs mount, instead of where the folder actually located.
e.g.
HOST1 - /dev/sdb1 /home
exports /home to HOST2
HOST2 - HOST1:/home /home
set quota from HOST2 for /home
Is this possible? I have not tried it, I wonder if anyone tried it.
View 1 Replies
ADVERTISEMENT
Mar 14, 2011
When going through my emails that are produced by the cron jobs ran on my Solaris servers, I am receiving a message that states,"/ is 50% full" what can I do to either lower the amount of data on this partition or raise the threshold limits to to stop this message? I would prefer to learn how to lower the amount of data on this disk to bring under my disk quota of 50% in order to stop these emails being produced by the cron job running on this server.
View 1 Replies
View Related
May 26, 2010
What is the best way to create a hard (OS) quota on disk space folders? Basically in web root folder /var/www/lighttpd I have a folder called domains. I want to set a quota on each domain folder. The quota sizes will vary per folder. Is there a way to do this without creating a user for every domain? Currently every folder is owned by the lighttpd user and group.
View 2 Replies
View Related
Nov 22, 2010
I am writing a php script and I need to find the total diskspace of a directory. I have used space already. I have a couple of different users with quotas
Code:
$path = "/home/" . ($_SERVER['PHP_AUTH_USER']);
$used = exec("du -c -a $path");
echo $used;
Will give me the disk space used. But I need total quota for that user.
View 4 Replies
View Related
Dec 24, 2009
i am using linux redHat 5 and fedora9 How can assgin disk space quota to particular user suppose i have 4 users
user1
user2
user3
user4
All four users have a each folder
/data/folder1
/data/folder2
/data/folder3
/data/folder4
i want to assign space limit/restriction of 100MB on each on folder.
View 3 Replies
View Related
Jun 17, 2010
I installed Diskquota on CentOS 5.1 machine. I enabled quota for some user with 1 GB as both hard and soft limits, Grace period is 0. Every this is working fine if we work from normal user's login say (user1 who is a system user). If he exceeds 1GB its will restrict that saying quota exceeded. But, If root user copies some 500MB files into his workspace, and change the ownership of those files using following command
chown user1.user1 * ( * is 500 MB files).
Then quota is exceeded and it is showed using:
repquota /home
user1 +- 2039960 997020 997020 none 298 0 0
Here its showing as some 2GB.
Soft limit is 951 MB.
So, my problem is restrict quota from all possible ways, i.e., even if root does some copying and change permissions, it must tell that disc quota exceeded.
View 2 Replies
View Related
Jun 10, 2009
In our organization there are around 1000+ users are using mails. The mailing system is implemented under RHEL using postfix and dovecot. For user based quotas i have implemented Disk Quota. But the problem when i want to edit quota for multiple users with similar limits i'm doing "edquota user" for every users. It seems very difficult. Now I wanna know:
1. Is there any way to edit quota value for multiple users at a single shot?
2. Also there is any method to send alerts mail to the end users on disk utilization?
View 3 Replies
View Related
Apr 11, 2010
Is there a way to set a disk quota for samba users? I've found a few guides, but they were a little to complicated for my needs. Running Ubuntu server 9.10
View 3 Replies
View Related
May 2, 2010
How can I mount an NTFS disk in CentOS 5.4? I did 'yum list | grep -i ntfs', but that doesn't show any ntfs rpms. Does CentOS support NTFS filesystems?
View 4 Replies
View Related
Jun 13, 2010
I've been at this for a few hours now. Searched the forums and while I found many similar topics, none were quite the same. The most obvious difference to me is this line: Jun 12 15:43:05 G1093 kernel: sdc: unknown partition table
Running CentOS 5.4
Installed hfsutils-3.2.6-7.2.2
[root@G1093 ~]# modprobe hfsplus
[code]....
View 2 Replies
View Related
Aug 6, 2010
I need to read/write to my flash disk which uses NTFs as it file system type.I read the tutorial at tips and tricks/NTFS
View 16 Replies
View Related
May 2, 2011
I'm looking for a free backup solution how work in client-server in both environments Linux(server) and Windows(client). in my case, i want to give a disk space quota in my Linux server for each remote windows client.
View 2 Replies
View Related
Jun 24, 2009
I dont know if this is possible or not but here what I would like to do. I have 6 linux server and each has 100GB disk space. All of these 6 box are compute nodes and space are not used really. However, If I can combine 6 servershard disk that will in total 6*100GB gives you quite a bigger space. Is there any tool or ways to mount these drive in one volume instead of mounting individually ?
View 2 Replies
View Related
Jun 10, 2011
Relational databases usually have their data over in /var/lib/something. Users are in /home (with data in /var/www). How can I apply a single total disk space quota across all of these independent software systems (file systems, RDBMS, etc.)?
P.S. There's a bet going on around me as to just how awesome SU is. Let's see what you've got.
View 1 Replies
View Related
Jan 13, 2010
I have a server with two hard disks SATA (500 GB), I installed centos in one of them, desire to know how I can mount the other hard disk empty and without format, so that this hard disk always appears mounted when "reboot" the system.
View 1 Replies
View Related
May 30, 2010
I want to enable quota on my centos 5.5, I've tried and it showed correctly quotacheck but when i rebooted the machine it showed me an error saying that fsck.ext3: no such file or direcotory while trying to open /dev/VolGroup00/LogVol00 below are my fdisk and fstab file. how can I enable quota based on below configuration. otherwise may be I have to reformat the machine..n it'll be really painfull for me.
[root@drikdhaka ~]# fdisk -l
Disk /dev/hda: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[code]....
View 1 Replies
View Related
Nov 1, 2010
Running a server using CentOS 5.5 (yum updated, x86_64), found that when using /usr/sbin/useradd to create system user, the quota for the user will default set to 5M soft and 10M hard (on /var/spool/mail partition). As remember the default setting for user quota should be both zero when create a new user.
man useradd and quota related command and no help, had any idea how to change/set the default quota when create user.
View 1 Replies
View Related
May 20, 2010
I'm trying to set up quota limit in samba-3.0.33-3.15.el5_4.1 in CentOS 5.5, by means of the module vfs objects. In the samba howto [1] I found a very brief explanation, but it isn't working for me. The basic idea is to setup a user called 'quota2g' (uid 499) and setup the [homes] share, as it comes by default, to enforce the quota on each user share.quota2g:x:499:499:User quota 2GB:/home/quota2g:/bin/bash
View 1 Replies
View Related
Aug 24, 2009
There is a disk 500 gb, it is broken on /boot and on /root and on /dev/sda1 and /dev/sda2. Whether prompt it is possible to redistribute a disk without loss of data namely it is necessary to make/boot and two equivalent on disk volume.
View 3 Replies
View Related
Jun 6, 2010
I created a encrypted volume on top of software raid1. These are my steps:
1. Create logical partition on sda
2. Create logical partition on sdb (same size)
3. Change type to partition to 'fd' for both partitions
4. Check that the both partitions are same size and type fdisk -l /dev/sda && fdisk -l /dev/sdb
5. partprobe
6. Make sure there are no remains from previous RAID installations on /dev/sdb by running: mdadm --zero-superblock /dev/sda6 mdadm --zero-superblock /dev/sdb6
7. mdadm --create /dev/md4 --level=1 --raid-disks=2 /dev/sda6 /dev/sdb6
8. watch cat /proc/mdstat
9. update mdadm.conf mdadm --examine --scan | grep mdx >> /etc/mdadm.conf
10. Load twofish module [root@localhost ~]# modprobe twofish
11. # cryptsetup -y -c twofish-cbc-essiv:sha256 create ftdata /dev/md4 Enter passphrase: Verify passphrase:
12. mkfs.ext3 -b 4096 -R stride=8 /dev/mapper/ftdata
13. mkdir /ftdata
14. Mount the encrypted volume:
mount -O noatime /dev/mapper/ftdata /ftdata
It mounts successfully this first time. When I cd /ftdata, I can see the lost+found dir
[Code]....
So why is it that I can't mount my encrypted volume after the first time? I am giving the correct password when it asks to.
View 3 Replies
View Related
Feb 18, 2010
I am trying to install CentOS 5.2, and the installation ran out of disk space after running for about 2 hours.I checked the FAQ, and it said 1.2 GB. The disk is 3 GB. The default install was selected, and I think that it checks for sufficient available disk space before installing. Still, it ran for quite a while before announcing that it was out of disk space.The Installation Guide is not very helpful, since there is a blank page where the disk space requirement is supposed to be. I just picked the default installation. A search of the forums on "not enough disk space" did not return much.
View 13 Replies
View Related
Jan 27, 2010
Ok I just installed my 1.5 TB drive. I used Gparted to format it as ext3 . why is it saying that the size is 1.36TB with 22.12Gib used and 1.34 TiB unused. How is it that I used the drive and all I did was install it. how should I reformat/format it.? I'm not putting an OS on it. Just media.
Currently I have the file system as extended and then under it its ext3
View 2 Replies
View Related
Nov 10, 2009
I am having new hardware and IDE driver for that hardware as drive disk image (it8213_centos53.img). CentOS 5.3 installation is working fine with drive disk image at USB and CentOS 5.3 at DVD. Our application uses CentOS 5.3 and we build a custom kick-start ISO for installations. Using that ISO client is going to install on all hardware boxes.
Note while installing :
a) No network connection is avalible.
b) No USB isavalible.
c) No floppy is avalible.
d) Only single CD-ROM is avalible.
So, is it possible to build single custom kick-start CentOS 5.3 ISO which contains dirve disk image and entire installation will be done using that image. If so please let me know the steps to build it.
View 2 Replies
View Related
Jun 30, 2010
mount from the old hdd to the new hdd i mean (Hard disk)
View 2 Replies
View Related
Mar 31, 2011
I installed a new disk and need to share it on NFS, but the share keep failing. I think the reason is the disk was not mounted when NFS started. How do I guarantee local disk mounted before NFS?
View 2 Replies
View Related
May 7, 2010
When I try to mount a disk I'm asked for password. In 9.10 I was not asked for password but after 10.04 it keeps asking me all the time.
View 3 Replies
View Related
Aug 6, 2009
I want to access suse to vista. I am trying this command but I didn't.
mount /dev/hda1 /win/c -vfat
View 1 Replies
View Related
Mar 27, 2010
I have an NCR UNIX hard disk I need to mount it on a Linux box The FS Type in fdisk on linux is '63' for the partition How can i mount on my linux box ? what is kernel module i needed ?
View 1 Replies
View Related
Feb 19, 2011
I am facing an issue in linux El4,I want to mount NTFS USB Hardisk to linux, I tried to mount but i got fs related error, after I have installed ntfs-3g, then i tried to mount through this command (mount -t ntfs-3g /dev/sdb1 /mnt/usb) but now i getting Fuse error, is there any possibilty to mount NTFS disk to linux EL4 without install Fuse.
View 3 Replies
View Related
Feb 6, 2011
I have an IDE disk which fails intermittently. It contains data only, no system files. (The system files are on /dev/sda1). Mostly at boottime the system fails to mount it even though it is listed in /etc/ftab as /dev/hda1 /mnt/hda1 ext2 default 1 0 I want to recover the files on it.
Is it possible to mount it after bootup? Is it necessary to reboot to detect attached disks? If the BIOS fails to detect the disk, is it impossible to mount it thereafter?
system is Slackware 10. Kernel 2.4
View 4 Replies
View Related