Patching on ZFS file-system


 
Thread Tools Search this Thread
Operating Systems Solaris Patching on ZFS file-system
# 1  
Old 10-11-2011
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 roll back is required. I believe, it should be done by Live Upgrade. Can somebody help me in definings steps ?
Code:
# zpool status rpool
  pool: rpool
 state: ONLINE
 scrub: none requested
config:
        NAME          STATE     READ WRITE CKSUM
        rpool         ONLINE       0     0     0
          mirror      ONLINE       0     0     0
            c0t1d0s0  ONLINE       0     0     0
            c0t0d0s0  ONLINE       0     0     0
# zpool list | wc -l
      22
# zoneadm list | wc -l
      11

# 2  
Old 10-12-2011
You dont have to break the mirror, you can create new BE in the same pool.

what about the zone's root are they on a different pool??

Regards,
Vishal
# 3  
Old 10-12-2011
Yes Vishal. rpool have / and /var.
And every zone have separate pool for him.
# 4  
Old 10-12-2011
Quote:
Originally Posted by vishalaswani
You dont have to break the mirror, you can create new BE in the same pool.

what about the zone's root are they on a different pool??

Regards,
Vishal
I'm pretty sure Boot Environments (BEs) are Solaris 11 feature. OP is running Solaris 10.
# 5  
Old 10-12-2011
I know we can create BE in Solaris-10 as well, but not sure about command/steps. Still searching on net for them.
Vishal, do you have idea, how to go ahead with patching ?
# 6  
Old 10-13-2011
The only way I know is Live Upgrade... Maybe this is what vishalaswani meant.
# 7  
Old 10-13-2011
Yup I meant BE in terms of live upgrade.

We have a server which has zone roots in a separate pool and we did the patching through live upgrade in it, when we created the new BE it created a snapshot for each zone in the zonepool for that BE.

In your environment you have a pool for each zone, so after lucreate you will find a snapshot for each zone in its pool for the new BE [you can see that in zfs list where another zone root path will appear with BE name in it].

You can refer to "Exercise 11: Using Live Upgrade Patching with Solaris Zones" in the following link Solaris 10 Patching with Live Upgrade - Solaris - wikis.sun.com

Regards,
Vishal
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Solaris

Need help in patching with lu on SVM+ZFS FS with zones

Hello, I need help in understanding, how lu can work on Solaris-10 on this server. I can detach mirror metadevices of LVM, but zpool looks confusing, which mirror I should break. server-app01 # : |format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0t0d0 <SUN300G cyl... (0 Replies)
Discussion started by: solaris_1977
0 Replies

2. Solaris

How to grow a zfs file system?

Hi I have the following file system, that needs to be expanded to more 500Gb, so a total of 1Tb: df -h /oradata1 Filesystem Size Used Available Capacity Mounted on oradata1 587G 517G 69G 89% /oradata1 I am not familiar with zfs, I am more... (17 Replies)
Discussion started by: fretagi
17 Replies

3. Solaris

Not able to increase ZFS file system on NGZ

I have Solaris-10 server running ZFS file-system. ctdp04_vs03-pttmsp01 is one of the non global zone. I wanted to increase a /ttms/prod file-system of zone, which is actually /zone/ctdp04_vs03-pttmsp01/ttms/prod on global server. I have added a new disk of 9 GB, which is emcpower56a and now I can... (16 Replies)
Discussion started by: solaris_1977
16 Replies

4. Solaris

How to take backup of ZFS file system on a tape drive?

Hi Guys, I want to take backup of a ZFS file system on tape drive. Can anybody help me with this? Thanks, Pras (0 Replies)
Discussion started by: prashant2507198
0 Replies

5. 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

6. Solaris

increase SWAP on ZFS file system

Hi All, I am using this commands to dynamically increase ZFS swap space on Solaris my question is: 1- after i make these commands it will permanent or it will remove after restart 2- how to make it permanent # swap -l swapfile dev swaplo bloques libre /dev/zvol/dsk/rpool/swap... (4 Replies)
Discussion started by: osmanux
4 Replies

7. Shell Programming and Scripting

ZFS file system - memory monitoring

I am working on a server where the 'root' user ZFS filesystem. Now when I do Top commands it says only 750M free .But when I count the actual memory utilized it comes only to 12 GB and the total size of the server is 32G. I think rest of the space is held up by ZFS file system. Is there a... (5 Replies)
Discussion started by: prasperl
5 Replies

8. 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
Login or Register to Ask a Question