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


 
Thread Tools Search this Thread
Operating Systems Solaris Force unmount of a SWAP filesystem left over from bad Live Upgrade
# 15  
Old 10-26-2017
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.
# 16  
Old 10-26-2017
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...
# 17  
Old 11-03-2017
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!
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Filesystem unable unmount

Hi all , I have issue oracle filesystem name /oracle/SID unable to unmount even though no any process are running mentioned fs .would appreciate anyone assist further high level .my system running aix 6.1 (7 Replies)
Discussion started by: Arulji
7 Replies

2. Solaris

Live upgrade first steps

Hello Guys, I am a little confused about the first step in the live upgrade process. I will be glad if someone can clarify this for me. The pre-live upgrade patch, when do you add this patch to the OS you want to upgrade? 1. before creating the new boot environment? or 2. after creating... (1 Reply)
Discussion started by: cjashu
1 Replies

3. Solaris

Live upgrade query

Hi All, Is it possible to use external san disk for creating alternate boot environment and boot from it.My root disk is about 70 gb and i want to use external san disk for 272gb to create alternate boot environment.If this is possible can you please redirect me some good documents, i had... (1 Reply)
Discussion started by: sahil_shine
1 Replies

4. Emergency UNIX and Linux Support

Live Upgrade Query

I am upgrading Solaris-9 Update-7 to Solaris-9 Update-9 through live upgrade. I am able to create another boot environment and have OS DVD inside server. But i am confused for, what command/path should I give for luupgrade. OS DVD is mounted on /mnt Boot environments are Solaris9old (Active now)... (2 Replies)
Discussion started by: solaris_1977
2 Replies

5. Solaris

Live Upgrade Issue

I tried a live upgrade for one my solaris 10u8 server which didnt go sucessfull and after that i now have following mounts in memory. df: cannot statvfs /.alt.sol10u8_2/var: No such file or directory df: cannot statvfs /.alt.sol10u8_2/var/run: No such file or directory df: cannot statvfs... (0 Replies)
Discussion started by: fugitive
0 Replies

6. Solaris

Live upgrade question

I want to basically update an ABE that someone created a few months back. I'm sure stuff has changed since it was made, and I was going to delete it and create a new one. But from what I'm looking at, the lumake appears like it would be a faster approach. I want to use live upgrade to... (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies

7. Solaris

No Space Left - Memory/Swap issue

:wall:I'm having a bit of a problem with Solaris 10u8 and one of our applications requesting memory and being told, "no space left". The break down: 24GB Physical Memory 8GB swap at the time of occurance, here's what a memory breakdown looks like: Page Summary Pages ... (21 Replies)
Discussion started by: aychbee45
21 Replies

8. OS X (Apple)

Can't Mount Disk / Image after bad unmount

I have had a little issue with one of my disks, the usb cacble was pulled out and one of the external drives on it would no longer mount. I used First Aid and it verified and repaired both OK / nothing to do). After lots of messing around and not being able to mount I used Drive Genius 2 and that... (1 Reply)
Discussion started by: Cranie
1 Replies

9. Solaris

Live upgrade Issue

Hi, I upgraded solaris 10 x86 from update 3 to update 7 with zones installed n UFS file system . The global zone was updated but the non global zone still shows update 3 what could be the reason for this and how can i update the local zones to update 7 (0 Replies)
Discussion started by: fugitive
0 Replies
Login or Register to Ask a Question