open-iscsi creates the same device name as my root fs

2008-09-03 Thread Carlos Acedo
Hello, My root fs is /dev/sda1, when I login to my target open-iscsi (or whatever is doing this) adds a device with the same name: sda1, so I get: $ cat /proc/partitions major minor #blocks name 8 14194304 sda1 <-- rootfs 8 2 524288 sda2 <--- swap 8 0 780200960 s

Re: open-iscsi creates the same device name as my root fs

2008-09-03 Thread Carlos Acedo
On 3 sep, 13:56, Tomasz Chmielewski <[EMAIL PROTECTED]> wrote: > Are you running Xen? Yes, this is a domU, did you have the same problem? > > -- > Tomasz Chmielewskihttp://wpkg.org --~--~-~--~~~---~--~~ You received this message because you are subscribed to the G

Re: open-iscsi creates the same device name as my root fs

2008-09-04 Thread Carlos Acedo
It seems there is another solution, changing the vm config with something like this: root= '/dev/sdi1 ro' disk= [ 'file:/home/xen/domains/mail/disk.img,sdi1,w', 'file:/home/ xen/domains/mail/swap.img,sdi2,w' ] And the fstab as well, from sda to sdi Using debian etch and Xen 3.3 --~--~-

Re: open-iscsi creates the same device name as my root fs

2008-09-04 Thread Carlos Acedo
> Yes, that's what I said in my previous mail (perhaps not clear enough): > "You have to use a different drive for domU" ;) > You are right, I think I got stuck with the /dev/xvd* device in the new kernel Thank you! --~--~-~--~~~---~--~~ You received this messag