I trying to configure some new storage under Solaris (2.6/8) and wonder if people would have an opinion of which of the following two solutions would be best. I don't have any fancy tools available (like Veritas) and am trying to do this using basic Solaris tools. I'm adding large disks (181GB mirrored with hardware RAID) and would rather that the users not see that they have all the space before I think they need it. We all know that any free space will always be filled when you add new disks.
Possible solutions: 1) When you create a filesystem under Solaris you can set a minfree percentage. This percentage (10% by default) of diskspace is kept reserved by the O/S to optimize filesystem usage. This percentage can be changed on the fly with "tunefs" and I was thinking I would start at 60% minfree (40% of disk availabe to user) and increase as necessary. This tunefs change can be done on alive filesystem.
2) It is possible to grow (add sectors) a ufs filesystem under Solaris. When you create a filesystem with newfs you can tell it to use less than all the sectors available on the partition you have specified. You can then grow this filesystem to the max sector count of the partition you are using. The filesystem doesn't need to be unmounted but become read-only during the grow. I believe this was added to support Disksuite objects but also works in ordinary partitions.
So, has anyone experience with either of these?
Thanks
John
****************************************************************** John Schulz, Manager Information Technology jschulz@pbl.ca Pollard Banknote Limited 1499 Buffalo Place Winnipeg, MB, Canada, R3T 1L7 204 474-2323 ext 256
John Schulz wrote:
... and wonder if people would have an opinion of which of the following two solutions would be best.
John, Option #3: Use quota limits even though they can see the space, they can't use it .. although you will hear begging and pleading in such a case ... guess it depends on who carries the bigger stick then ... ;-)
Dan.
Unfortunately most of the files are accessed by a group of users. I don't think you can apply quotas to groups.
John
Quoting Dan Keizer ve4drk@mts.net Date: Mon, 29 Apr 2002 17:07:31 -0500
John Schulz wrote:
... and wonder if people would have an opinion of which of the following two solutions
would be
best.
John, Option #3: Use quota limits even though they can see the space, they can't use it .. although you will hear begging and pleading in such a case ... guess it depends on who carries the bigger stick then ... ;-)
Dan.
****************************************************************** John Schulz, Manager Information Technology jschulz@pbl.ca Pollard Banknote Limited 1499 Buffalo Place Winnipeg, MB, Canada, R3T 1L7 204 474-2323 ext 256
John Schulz wrote:
... and would rather that the users not see that they have all the space before I think they need it.
For group-based quota, I didn't find anything specific in the man pages, but a search found *some* info ... here's the two links that seem relevant ...it will not prevent them, but will warn you when groups of id's go over their quota ...
http://www.sunhelp.org/pipermail/sunhelp/1999-July/000723.html%03
http://www.sunhelp.org/pipermail/sunhelp/1999-July/000699.html
Dan.