BUG report, per telinit --help output
Anthony Booker
tb at purple-people.org
Sat Sep 15 02:10:28 BST 2007
Hello,
I'm trying to resize the mounted root f/s of an ubuntu 7.04 system.
Things go fine until after pivot root, then I can't unmount the original
root, telinit u is what I expect to use to get init to drop references
to the old root. However:
root at D3100:/# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/mapper/D3100.servadmin.com-root /old_root ext3 rw,data=ordered 0 0
/dev/mapper/D3100.servadmin.com-swap_1 / ext3 rw,data=ordered 0 0
proc /proc proc rw 0 0
root at D3100:/# telinit u
root at D3100:/# echo $?
0
root at D3100:/# lsof | grep old
init 1 root txt REG 254,0 111040 12795925
/old_root/sbin/init
init 1 root mem REG 254,0 119536 36159503
/old_root/lib/ld-2.5.so
init 1 root mem REG 254,0 1367432 36159509
/old_root/lib/libc-2.5.so
root at D3100:/# cat /etc/issue
Ubuntu 7.04 \n \l
root at D3100:/# cat /proc/version
Linux version 2.6.20-16-generic (root at king) (gcc version 4.1.2 (Ubuntu
4.1.2-0ubuntu4)) #2 SMP Thu Aug 30 23:16:15 UTC 2007
So no unmount of old_root is possible.
telinit says:
root at D3100:/# telinit --help
Usage: telinit [OPTION]... RUNLEVEL
Change runlevel.
Options:
-q, --quiet reduce output to errors only
-v, --verbose increase output to include informational
messages
--help display this help and exit
--version output version information and exit
RUNLEVEL should be one of 0123456S.
Report bugs to <upstart-devel at lists.ubuntu.com>
If you need any further information, I'd be happy to help.
Thanks for your time,
Anthony Booker
More information about the upstart-devel
mailing list