[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] lvmcreate_initrd problem



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




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]