mounting filesystems - mount crashes
Hello,
I am trying to create a filesystem and have it mounted during boot. The virtual machine is redhat 9.
I created the filesystem on the host os with dd. I boot up my vm with ubd3=/uml/new_fs as a kernel argument. WHen inside the VM, I create an ext2 filesystem on it. I am then able to mount it normally from there. When I add it to fstab as:/dev/ubd/3 /usr ext2 defaults 1 1
It blows chunks.
It also did this for my home filesystem and I have to mount that from rc.local and it works fine but I need /usr before that. Any ideas?
Thanks.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 7 lines · Terry
I created the filesystem on the host os with dd. I boot up my vm with ubd3=/uml/new_fs as a kernel argument. WHen inside the VM, I create an ext2 filesystem on it. I am then able to mount it normally from there. When I add it to fstab as:
/dev/ubd/3/usr ext2 defaults 1 1
It blows chunks.
What's the error message? What command line are you starting UML with? You need to give us some information to actually debug the problem.
David
Signature · 14 lines
David Coulson email: [email protected] Linux Developer / web: http://davidcoulson.net/ Network Engineer phone: (216) 533-6967 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 11 lines
Quoted 7 lines · Terry
I created the filesystem on the host os with dd. I boot up my vm with ubd3=/uml/new_fs as a kernel argument. WHen inside the VM, I create an ext2 filesystem on it. I am then able to mount it normally from there. When I add it to fstab as:
/dev/ubd/3/usr ext2 defaults 1 1
It blows chunks.What's the error message? What command line are you starting UML with? You need to give us some information to actually debug the problem.
Do you get a kernel crashing, or just rc stuff failing due to most of all shell-tools and stuff lies under /usr/bin, and therefor needs to be mounted very early during the boot.
Stian
This mail has been scanned for known viruses on an open, Linux-based mailsystem developed by http://Knowledge-Network.no and http://Nixia.no.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 10 lines · --- David Coulson
Quoted 1 line · Terry
I created the filesystem on the host os with dd.
I
Quoted 3 lines
boot up my vm with ubd3=/uml/new_fs as a kernel
argument. WHen inside the VM, I create an ext2
filesystem on it. I am then able to mount itnormally
Quoted 2 lines
from there. When I add it to fstab as:
/dev/ubd/3/usr ext2 defaults 11
Quoted 8 lines
Quoted 1 line
It blows chunks.
What's the error message? What command line are you starting UML with?
You need to give us some information to actually debug the problem.David
During the boot process:
Mounting local filesystems: Child 28884 exited with signal 11
Or Manually with fstab:
mount /usr.new
Child 23701 exited with signal 11
I can get it mounted in the following ways:
mount /dev/ubd/3 /usr
mount -a (if its in fstab)
I start UML with:
./linux ubd0=/home/td/uml/root_fs ubd1=/home/td/uml/home_fs ubd2=/home/td/uml/swap ubd3=/home/td/uml/usr_fs eth0=tuntap,,,192.168.0.254 mem=512M
I took a peek at the script that mounts filesystems and it is pretty basic.
Any ideas on how to get around this? It works if I put the mount command in rc.local but I need the filesystem way before that gets ran.
Thanks.
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 7 lines
Or Manually with fstab:
mount /usr.new
Child 23701 exited with signal 11I can get it mounted in the following ways:
mount/dev/ubd/3/usr
mount -a (if its in fstab)
Since you are able to trigger the fault now, you can take a peek behind the sceenes and play with strace.
strace mount /dev/ubd/3 /usr
and
strace mount /usr.new
normally should produce the same output and outfall for you.
Stian
This mail has been scanned for known viruses on an open, Linux-based mailsystem developed by http://Knowledge-Network.no and http://Nixia.no.
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 2 lines · Terry
Mounting local filesystems: Child 28884 exited with signal 11
Sig 11 is usually bad RAM.
David
Signature · 14 lines
David Coulson email: [email protected] Linux Developer / web: http://davidcoulson.net/ Network Engineer phone: (216) 533-6967 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ User-mode-linux-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel
Quoted 4 lines · [email protected] said:
Child 23701 exited with signal 11
Any ideas on how to get around this? It works if I put the mount command in rc.local but I need the filesystem way before that gets ran.
This is fixed in recent patches.
Jeff
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel