* [linux-lvm] Shutdown questions
@ 2002-04-21 18:22 Adrian Noland
2002-04-21 19:35 ` Goetz Bock
0 siblings, 1 reply; 4+ messages in thread
From: Adrian Noland @ 2002-04-21 18:22 UTC (permalink / raw)
To: linux-lvm
I'm curious about what happens when the system is shut down (or
crashes) without deactivating LVM. How come you have to "manually"
deactivate it? What kind of recovery attempt is made when this happens.
What kind of problems does this cause when the system comes back up?
=====
"Palm Pilots are the Pet Rocks of the portable computing world"-Dan East
__________________________________________________
Do You Yahoo!?
Yahoo! Games - play chess, backgammon, pool and more
http://games.yahoo.com/
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] Shutdown questions
2002-04-21 18:22 [linux-lvm] Shutdown questions Adrian Noland
@ 2002-04-21 19:35 ` Goetz Bock
2002-06-03 14:36 ` [linux-lvm] lvmcreate_initrd problem Adrian Noland
0 siblings, 1 reply; 4+ messages in thread
From: Goetz Bock @ 2002-04-21 19:35 UTC (permalink / raw)
To: linux-lvm
On Sun, Apr 21 '02 at 16:23, Adrian Noland wrote:
> I'm curious about what happens when the system is shut down (or
> crashes) without deactivating LVM. How come you have to "manually"
> deactivate it? What kind of recovery attempt is made when this happens.
> What kind of problems does this cause when the system comes back up?
You don't have to, I never do. But if you do not deactivate LVM (more
specific the LVs) the lower layer might complain about beeing still
required by LVM and you will not be able to activate it (e.g. LVM over
MD), but I cant say wether this will cause any problems when doing a
normal shutdown.
LVM does not need the deactivation, and there are no recovery attemps
required.
Cu,
Goetz.
^ permalink raw reply [flat|nested] 4+ messages in thread* [linux-lvm] lvmcreate_initrd problem
2002-04-21 19:35 ` Goetz Bock
@ 2002-06-03 14:36 ` Adrian Noland
2002-06-06 9:41 ` Patrick Caulfield
0 siblings, 1 reply; 4+ messages in thread
From: Adrian Noland @ 2002-06-03 14:36 UTC (permalink / raw)
To: linux-lvm
Hello,
I'm trying to create an initrd and I'm hitting my head against this
error:
lvmcreate_initrd -- ummounting ram disk
umount: /tmp/initrd.2400: not mounted
lvmcreate_initrd -- ERROR umounting /tmp/initrd.2400
-- removing /tmp/initrd.2400
-- removing /tmp/mnt.2400
rmdir: `/tmp/mnt.2400': Device or resource busy
-- removing /tmp/lib.2400
-- exit with code 1
How do I find out why /tmp/initrd.$$ isn't mounted? Furthermore, can I
unmount it on my own and complete the script my self? What values would
I use for $DEVRAM and $INITRD?
NB: this isn't a standard install. I'm finishing up a LFS system. This
error only occurs in chroot. Is this a permissions problem or otherwise
related to LFS?
Thanks,
Adrian
=====
"You cannot with logic dissuade someone of a belief that was formulated without logic." --Big Beare's Law
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [linux-lvm] lvmcreate_initrd problem
2002-06-03 14:36 ` [linux-lvm] lvmcreate_initrd problem Adrian Noland
@ 2002-06-06 9:41 ` Patrick Caulfield
0 siblings, 0 replies; 4+ messages in thread
From: Patrick Caulfield @ 2002-06-06 9:41 UTC (permalink / raw)
To: linux-lvm
On Mon, Jun 03, 2002 at 12:35:50PM -0700, Adrian Noland wrote:
> Hello,
> I'm trying to create an initrd and I'm hitting my head against this
> error:
>
> lvmcreate_initrd -- ummounting ram disk
> umount: /tmp/initrd.2400: not mounted
> lvmcreate_initrd -- ERROR umounting /tmp/initrd.2400
> -- removing /tmp/initrd.2400
> -- removing /tmp/mnt.2400
> rmdir: `/tmp/mnt.2400': Device or resource busy
> -- removing /tmp/lib.2400
> -- exit with code 1
>
> How do I find out why /tmp/initrd.$$ isn't mounted? Furthermore, can I
> unmount it on my own and complete the script my self? What values would
> I use for $DEVRAM and $INITRD?
>
The wierd thing is that mount hasn't given an error. I suppose the thing to do
is to stick a "pause" or an "exit" after the mount to see if has actually worked
(if not, then strace it and see why not). If it has worked then figure out why
it get umounted in between or if the variable named gets mangled for any reason.
patrick
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-06-06 9:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-21 18:22 [linux-lvm] Shutdown questions Adrian Noland
2002-04-21 19:35 ` Goetz Bock
2002-06-03 14:36 ` [linux-lvm] lvmcreate_initrd problem Adrian Noland
2002-06-06 9:41 ` Patrick Caulfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).