Current-Users archive

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

device-mapper qemu testing image



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hi, folks

I have uploaded my qemu testing image to [1]. This is netbsd image which I use for device-mapper testing. I want to ask you for some help it would be great if you can give it a try.

HOWTO test:

run this image with this command

qemu -hda netbsd.img -hdb disk1.img -hdc disk2.img -m 64 -serial telnet::4556,server,nowait -s

after boot login with root/root combination and try to use dmsetup command to get basic testing.

For basic test use dmsetup command.

1) dmsetup version, dmsetup targets

2) dmsetup create {device} {table_file_name zero_table, linear_table*}

3) dmsetup list, dmsetup status, dmsetup deps, dmsetup info

4) you can try to newfs created device
   newfs -F -s {size from table} /dev/mapper/{raw device}

5) mount newfsed device with
   mount /dev/mapper/{device} /mnt

   and use it.

To try lvm2tools do this, if it doesn't work for you try to
set verbose flag in
/etc/lvm/lvm.conf to 3 and post your log somewhere.

6) pvcreate /dev/{pvdevice}
        {pvdevice} is raw device such as /dev/rwd1d or /dev/rdk0.

7) vgcreate {vgname} /dev/{pvdevice}

8) lvcreate -L{size} -n {name} {vgname} this is untested.
   This doesn't work for now but I'm working on it.


[1]http://ftp.netbsd.org/pub/NetBSD/misc/haad/netbsd.img.bz2

Regards

Adam.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFIXkCilIxPgX3Go0MRAs19AKDLP9IGsEDAlnSWV7tvwgNn9yqLkQCgyycF
8acxSQoqZfmu44J5yrYywcQ=
=Thtj
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index