VirtualBox

Ticket #5493 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

Compacting is not possible any more: mount command returns error: mount / is busy

Reported by: abcuser Owned by:
Priority: major Component: other
Version: VirtualBox 3.0.12 Keywords:
Cc: Guest type: Linux
Host type: other

Description

Hi,
I would like to compact VDI file on Ubuntu 9.10 guest running on top of Windows XP sp3 host using VirtualBox 3.0.11.

I have followed tutorial - written by me :) - about compacting VDI files:  http://wiki.virtualbox.org/page/User:Abcuser/compactVDI, but when I execute command: mount -n -o remount,ro -t ext2 /dev/sda1 /
I get error message: "mount: / is busy".

This instructions were working fine on previous version of Ubuntu and VirtualBox - but I have upgraded both the same day, so I don't know which one is causing the problem. Most probably this is Ubuntu 9.10 problem, because it does not permits to remount disk as read-only. But no mather if this is Ubuntu or VirtualBox problem, no more compacting is posible

The only work-around I have found is to use third-party tool CloneVDI:  http://forums.virtualbox.org/viewtopic.php?f=6&t=22422[[BR]] But this is tool only works on Windows hosts, because it is Windows application. It also works on Wine, but we can't expect Linux admin to install Wine, because there are so many problems with it and also a lot of disk would be taken. Regards

Change History

comment:1 Changed 4 years ago by klaus

  • Status changed from new to closed
  • Resolution set to invalid

To me this looks like a guest OS setup issue. VirtualBox has very little influence on why a guest OS would refuse to remount a filesystem as readonly. Maybe Ubuntu 9.10 starts something really early which opens a file for writing, as that blocks the remount. Check with lsof...

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use