Sponsored Content
Operating Systems Solaris Creation of zone based on zfs root file system Post 302661703 by sb200 on Monday 25th of June 2012 03:39:57 PM
Old 06-25-2012
Hi bartus11

Thanks for the quick reply. You mean

Code:
bash-3.2# df -h
Filesystem             size   used  avail capacity  Mounted on
/dev/dsk/c1t0d0s0      7.8G   4.5G   3.2G    59%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   350M   968K   349M     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                       7.8G   4.5G   3.2G    59%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
swap                   349M    52K   349M     1%    /tmp
swap                   349M    40K   349M     1%    /var/run
/dev/dsk/c1t0d0s7      3.5G   3.6M   3.5G     1%    /export/home
rootpool                16G    44K   9.6G     1%    /rootpool
pool1                  7.8G    32K   7.7G     1%    /pool1
pool1/fs1              7.8G    32K   7.7G     1%    /pool1/fs1
pool1/fs1/zone3        7.8G   110M   7.7G     2%    /pool1/fs1/zone3
bash-3.2# 
bash-3.2# zoneadm list -iv
  ID NAME             STATUS     PATH                           BRAND    IP    
   0 global           running    /                              native   shared
   1 zone1            running    /export/zone1                  native   shared
   3 zone3            running    /pool1/fs1/zone3               native   shared
bash-3.2#

Can't it be possibly like below output as suppose user is directly login into zone3 & he is not aware of that zone is above zpool & user might me thinking that this is just a UFS root FS as below output will be more helpfull to explain that it is ZFS root FS or UFS root FS.

Code:
bash-3.2# df -h
Filesystem             size   used  avail capacity  Mounted on
rootpool/ROOT/zfsBE     16G   4.6G   9.9G    32%    /
/devices                 0K     0K     0K     0%    /devices
ctfs                     0K     0K     0K     0%    /system/contract
proc                     0K     0K     0K     0%    /proc
mnttab                   0K     0K     0K     0%    /etc/mnttab
swap                   397M   972K   396M     1%    /etc/svc/volatile
objfs                    0K     0K     0K     0%    /system/object
sharefs                  0K     0K     0K     0%    /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap1.so.1
                        15G   4.6G   9.9G    32%    /lib/libc.so.1
fd                       0K     0K     0K     0%    /dev/fd
rootpool/ROOT/zfsBE/var
                        16G    86M   9.9G     1%    /var
swap                   396M    40K   396M     1%    /tmp
swap                   396M    36K   396M     1%    /var/run
/dev/dsk/c1t0d0s7      3.5G   3.6M   3.5G     1%    /export/home
rootpool                16G    42K   9.9G     1%    /rootpool
bash-3.2#

 

8 More Discussions You Might Find Interesting

1. HP-UX

file system creation

I won't to remove a filesystem /dev/vg01/lvo1 and copy the same to different vg ex:- /dev/vg02. Pls give the required step to be followed to complete the said process (3 Replies)
Discussion started by: kamlesh_k
3 Replies

2. UNIX for Dummies Questions & Answers

zfs file system

Hi, I try add a new file system: #zfs create dsk1/mqm it came back with: #cannot create 'dsk1/mqm': no such pool 'dsk1' what do I have to do? Kind regards Mehrdad (2 Replies)
Discussion started by: mehrdad68
2 Replies

3. Solaris

Patching on ZFS file-system

Hi, I have Solaris-10 (Update-7). This is having ZFS file-system and 10 sparse-root zones are there. I want to install Solaris-10 recommended patch cluster on it, but not sure, how to go ahead with procedure. I want to patch one side of the mirror and keep intact another side safe in case of... (6 Replies)
Discussion started by: solaris_1977
6 Replies

4. Emergency UNIX and Linux Support

Not able to extend ZFS file system

Hi All, I have Solaris-10 configured with two non-global zones. All file-systems are mounted on global zone and data file-systems are mounted on non-global zone as lofs. I have added 4 luns of 100 GB each and still not able to extend a file-system. This is production server, so I can not... (5 Replies)
Discussion started by: solaris_1977
5 Replies

5. Solaris

Migration of system having UFS root FS with zones root to ZFS root FS

Hi All After downloading ZFS documentation from oracle site, I am able to successfully migrate UFS root FS without zones to ZFS root FS. But in case of UFS root file system with zones , I am successfully able to migrate global zone to zfs root file system but zone are still in UFS root file... (2 Replies)
Discussion started by: sb200
2 Replies

6. Shell Programming and Scripting

Moving files based on file creation

Hi, I have a directory having so many number of files. Now I want to move the files which are older than one month (lets say) from this directory to another directory (say BKP dir). Simply, if file is olderthan one month move it from source1 dir to BKP1 dir. My file names doesn't have... (7 Replies)
Discussion started by: karumudi7
7 Replies

7. UNIX for Dummies Questions & Answers

Host file to DNS zone creation

We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? (0 Replies)
Discussion started by: jpolachak
0 Replies

8. Solaris

Host file to dns zone creation solution?

We are currently using the famous script H2N to create our DNS zone files from a host file. However, we are moving to IPV6 soon and this script doesnt support IPV6. Is there another script/solution to creating DNS zones via a host file input? Is there another solution or way to do things that I may... (0 Replies)
Discussion started by: jpolachak
0 Replies
All times are GMT -4. The time now is 02:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy