Re: [linux-lvm] lvmcreate_initrd problem

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

 



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


_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux