Sponsored Content
Operating Systems Solaris Increase root filesystem on solaris zone using zpool Post 302646513 by vikkash on Friday 25th of May 2012 08:34:32 AM
Old 05-25-2012
Hello Juan,
Please find the output from the global zone below :

Code:
root@server.:/# zpool status
  pool: dpool
 state: ONLINE
 scrub: none requested
config:
        NAME        STATE     READ WRITE CKSUM
        dpool       ONLINE       0     0     0
          c1t2d0    ONLINE       0     0     0
errors: No known data errors
  pool: rpool
 state: ONLINE
 scrub: none requested
config:
        NAME        STATE     READ WRITE CKSUM
        rpool       ONLINE       0     0     0
          c1t0d0s0  ONLINE       0     0     0
errors: No known data errors
root@server.:/# prtvtoc /dev/rdsk/c1t0d0s0
* /dev/rdsk/c1t0d0s0 partition map
*
* Dimensions:
*     512 bytes/sector
*     136 sectors/track
*      16 tracks/cylinder
*    2176 sectors/cylinder
*   65535 cylinders
*   65533 accessible cylinders
*
* Flags:
*   1: unmountable
*  10: read-only
*
*                          First     Sector    Last
* Partition  Tag  Flags    Sector     Count    Sector  Mount Directory
       0      2    00          0 142599808 142599807
       2      5    00          0 142599808 142599807

root@server.:/# zpool list 
NAME    SIZE   USED  AVAIL    CAP  HEALTH  ALTROOT
dpool    68G  16.0G  52.0G    23%  ONLINE  -
rpool  67.5G  28.3G  39.2G    41%  ONLINE  -
I have to increase the root of server-z2 mounted on dpool/server-z2.domain as mentioned below :
root@server.:/# zfs list
.....
dpool/server-z2.domain        6.99G  4.92G  6.99G  /zones/server-z2.domain
.....
root@server.:/#  zfs list dpool          
NAME    USED  AVAIL  REFER  MOUNTPOINT
dpool  62.0G  4.92G    21K  /dpool
root@server.:/# zfs get available,quota,reservation dpool/server-z2.domain
NAME                    PROPERTY     VALUE   SOURCE
dpool/server-z2.domain  available    4.92G   -
dpool/server-z2.domain  quota        none    default
dpool/server-z2.domain  reservation  1G      local

Moderator's Comments:
Mod Comment Please use the code tags button
Image

Last edited by Scott; 05-25-2012 at 11:00 AM.. Reason: Code tags
 

9 More Discussions You Might Find Interesting

1. Solaris

What is the command to increase filesystem on 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

increase root file system size in 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

increase/decrease filesystem

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

How to increase the filesystem size?

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

Increase the filesystem size

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

Solaris 10: I forgot to detach a zone before zpool export. Uninstall zone?

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

Solaris 11 Global zone patching having Solaris 10 branded zone

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

Increase /tmp file system size dynamically in Solaris zone

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

How to increase the /var (UFS) filesystem and root disk under veritas control?

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
ZFSLOADER(8)						    BSD System Manager's Manual 					      ZFSLOADER(8)

NAME
zfsloader -- kernel bootstrapping final stage DESCRIPTION
zfsloader is an extended variant of loader(8) with added support for booting from ZFS. This document describes only differences from loader(8). ZFS FEATURES
zfsloader supports the following format for specifying ZFS filesystems which can be used wherever loader(8) refers to a device specification: zfs:pool/filesystem: where pool/filesystem is a ZFS filesystem name as described in zfs(8). If /etc/fstab does not have an entry for the root filesystem and vfs.root.mountfrom is not set, but currdev refers to a ZFS filesystem, then zfsloader will instruct kernel to use that filesystem as the root filesystem. ZFS COMMAND EXTENSIONS
lsdev [-v] Lists ZFS pools in addition to disks and partitions. Adding -v shows more ZFS pool details in a format that resembles zpool status output. lszfs filesystem A ZFS extended command that can be used to explore the ZFS filesystem hierarchy in a pool. Lists the immediate children of the filesystem. The filesystem hierarchy is rooted at a filesystem with the same name as the pool. FILES
/boot/zfsloader zfsloader itself. EXAMPLES
Set the default device used for loading a kernel from a ZFS filesystem: set currdev=zfs:tank/ROOT/knowngood: SEE ALSO
gptzfsboot(8), loader(8), zfs(8), zfsboot(8), zfsloader(8), zpool(8) HISTORY
The zfsloader first appeared in FreeBSD 7.3. AUTHORS
This manual page was written by Andriy Gapon <avg@FreeBSD.org>. BSD
September 15, 2014 BSD
All times are GMT -4. The time now is 01:18 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy