05-25-2012
Increase root filesystem on solaris zone using zpool
I have a solaris zone of 12 GB and i have to increase the / filesystem to 31GB as requested. Earlier I had expanded filesystems other than / by setting quota to new value like "zfs set quota=new value mountpoint" but I am not sure whether its a good practice in zfs because by default in my environment, the quota and reservation are set to NONE. So I am able to increase the space but I am not sure whether I am doing it the right way or not. Now when it comes to increasing / filesystem, I dont want to take chances and do something stupid. Let me know your views on how to increase the root filesytem of solaris zone using zpool.
FYI : When we see space from global zone using zpool, everything is just a filesystem with some space irrespective of whether its root or other filesystem but still some ideal and right way or views are welcome.
9 More Discussions You Might Find Interesting
1. Solaris
I wanted to know what is the process or command to increase a filesystem on solaris. For example the /tmp directory. (3 Replies)
Discussion started by: strikelit
3 Replies
2. Solaris
Hi frnz,
Need an urgent help...
I have installed solaris 8 in a sunblade workstation with 136GB hdd.
While installation it has taken a default filesystem size as 1.37GB for root.
AFtr completing the installation i have extended the root partition to 130GB.
But still df output shows... (4 Replies)
Discussion started by: sriram.s
4 Replies
3. Solaris
Hi All,
I need to increase the filesystem of / and /var (two different slices)? Space will be coming from /home slice so I need to decrease it. Is that possible without reinstallation or in a single-user-mode?
Any idea or link please.
Thanks in advance. (5 Replies)
Discussion started by: itik
5 Replies
4. UNIX for Dummies Questions & Answers
Hi..
I want to increase the file system size of any filesystem online, without using the Volume manager like LVMs, is it possible? & if yes then how? (3 Replies)
Discussion started by: Amol21
3 Replies
5. Red Hat
Hi
I am using oracle linux 6.4. My hard drive capacity is 500 GB. my filesystem size onbly 50GB. I would like to extend my filesystem size to around 100GB. I tried many codes but still I am not able.
this is the output of df -h :
Filesystem Size Used Avail Use% Mounted on... (6 Replies)
Discussion started by: farshad
6 Replies
6. UNIX for Advanced & Expert Users
Dear all,
recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes.
I did the following:
host1:
$ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed
$ zpool export zone1
host2:
$ zpool... (2 Replies)
Discussion started by: custos
2 Replies
7. Solaris
I am planning to do solaris 11 global zone patching having solaris 10 branded zone. I have a doubts on step 8 specially
Can someone clear my step 8 doubts or if anything wrong between step 1 to step 9 please correct that also as I have pretty good idea about Step 10 mean patching in solaris 10... (2 Replies)
Discussion started by: amity
2 Replies
8. Solaris
Hi
Please let me know how to increase the size of /tmp file system from 512m to 1024m dynamically without reboot in solaris zone
# df -h
Filesystem size used avail capacity Mounted on
zones/zone1 11G 1.0G 10.0G 10% /
/dev 11G 1.0G ... (6 Replies)
Discussion started by: sb200
6 Replies
9. Solaris
I need to increase the /var (UFS) filesystem and root disk under veritas control or root disk is encapsulated
# df -k /var
Filesystem kbytes used avail capacity Mounted on
/dev/vx/dsk/var 13241195 12475897 674524 96% /var
# fstyp /dev/vx/dsk/var
ufs
# pkginfo... (1 Reply)
Discussion started by: amity
1 Replies
LEARN ABOUT REDHAT
setquota
SETQUOTA(8) System Manager's Manual SETQUOTA(8)
NAME
setquota - set disk quotas
SYNOPSIS
/usr/sbin/setquota [ -r ] [ -u | -g ] [ -F quotaformat ] name block-softlimit block-hardlimit inode-softlimit inode-hardlimit -a | filesys-
tem...
/usr/sbin/setquota [ -r ] [ -u | -g ] [ -F quotaformat ] [ -p protoname ] name -a | filesystem...
/usr/sbin/setquota -t [ -u | -g ] [ -F quotaformat ] block-grace inode-grace -a | filesystem...
DESCRIPTION
setquota is a command line quota editor. The filesystem, user/group name and new quotas for this filesystem can be specified on the com-
mand line.
-r Edit also remote quota use rpc.rquotad on remote server to set quota.
-F quotaformat
Perform setting for specified format (ie. don't perform format autodetection). Possible format names are: vfsold (version 1 quota),
vfsv0 (version 2 quota), rpc (quota over NFS), xfs (quota on XFS filesystem)
-u Set user quotas for named user. This is the default.
-g Set group quotas for named group.
-p protoname
Use quota settings of user or group protoname to set the quota for the named user or group.
-t Set grace times for users/groups. Times block-grace and inode-grace are specified in seconds.
-a Go through all filesystems with quota in /etc/mtab and perform setting.
To disable a quota, set the coresponding parameter to 0. To change quotas for several filesystems, invoke once for each filesystem.
Only the super-user may edit quotas.
FILES
aquota.user or aquota.group
quota file at the filesystem root (version 2 quota, non-XFS filesystems)
quota.user or quota.group
quota file at the filesystem root (version 1 quota, non-XFS filesystems)
/etc/mtab mounted filesystem table
SEE ALSO
edquota(8), quota(1), quotactl(2), quotacheck(8), quotaon(8), repquota(8)
SETQUOTA(8)