Unix/Linux Go Back    


Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle.

Force unmount of a SWAP filesystem left over from bad Live Upgrade

Solaris


Tags
solved

Reply    
 
Thread Tools Search this Thread Display Modes
    #15  
Old Unix and Linux 10-26-2017   -   Original Discussion by mainegeek
hicksd8's Unix or Linux Image
hicksd8 hicksd8 is offline Forum Staff  
Moderator
 
Join Date: Feb 2012
Last Activity: 12 December 2017, 4:39 AM EST
Location: Devon, UK
Posts: 1,662
Thanks: 241
Thanked 406 Times in 344 Posts
I doubt you can use that to umount the device.

We know that during Live Update the BE and the new BE share the same swap so, in a crash situation, it could be either BE holding the swap open and preventing deletion. It seems that you have to 'back out' the crashed procedure but that's not simple.

I'm trying to get a handle on that.

This is where I'm at with my reading right now:
Getting Rid of Pesky Live Upgrade Boot Environments | Oracle Solaris Tips and Tricks Blog

Some of the directories, eg, /var/run and /tmp, look familiar.
Sponsored Links
    #16  
Old Unix and Linux 10-26-2017   -   Original Discussion by mainegeek
mainegeek's Unix or Linux Image
mainegeek mainegeek is offline
Registered User
 
Join Date: Dec 2007
Last Activity: 28 November 2017, 9:27 PM EST
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
I don't think there is any going back unfortunately. When the problem occurred we had to rename ZFS filesystems along with change their mountpoint and canmount options. Finally we had to promote the zoneroot file system. So, we ended up removing /etc/lutab, /etc/lu/ICF.*, /etc/lu/INODE.*, and /etc/lu/vtoc.*

Basically the only BE (until I recently created one for the Oct patches) on the system is the currently running one.

I've inventoried the servers today, out of 7 that had the Live Upgrade "problem", only 4 have this problem. I've asked the customer to reboot the servers which will remove that mount point and allow me to proceed.

I just feel like there must be a way without rebooting to accomplish this...
Sponsored Links
    #17  
Old Unix and Linux 11-03-2017   -   Original Discussion by mainegeek
mainegeek's Unix or Linux Image
mainegeek mainegeek is offline
Registered User
 
Join Date: Dec 2007
Last Activity: 28 November 2017, 9:27 PM EST
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
I just wanted to post a follow up. The customer rebooted the 4 servers today and the zone 'lu' swap is now gone. I can now apply the patch set. I still feel like there must have been a way to accomplish this without a reboot though. Thanks!
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Filesystem unable unmount Arulji AIX 7 02-04-2016 06:27 AM
Live upgrade question BG_JrAdmin Solaris 0 02-06-2012 04:33 PM
live upgrade SUN cluster alex57 Solaris 4 09-23-2011 12:01 PM
No Space Left - Memory/Swap issue aychbee45 Solaris 21 02-18-2011 03:37 AM



All times are GMT -4. The time now is 05:57 AM.