> Date: Tue, 01 Jun 2010 17:06:18 +0200
> From: Papp Tamás <[email protected]>
> Subject: mkfs on qcow2
> To: Linux kérdések/válaszok <[email protected]>
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
> 
> 
> helo!
> 
> Ilyet szeretnek csinalni.
> 
> Azt irjak mindehol, hogy:
> 
> $ qemu-nbd -c /dev/nbd0 foo.qcow2
> $ fdisk /dev/nbd0
> 
> $ mkfs /dev/nbd0p1
> 
> Elkezd futni, majd itt all a vegtelensegig:
> "Writing superblocks and filesystem accounting information:"
> 
> A strace szerint fsync-elni akar.
> 
> Egyebent igy neznek ki a qemu-nbd process-ek:
> 
>  1736 ?        Ss     0:00 qemu-nbd --connect=/dev/nbd0 rock3.qcow2
>  1737 ?        Sl     0:00  \_ qemu-nbd --connect=/dev/nbd0 rock3.qcow2
>  1738 ?        Z      0:00  \_ [qemu-nbd] <defunct>
> 
> Otlet?
> 
> Koszi,
> 
> tamas

qemu -cdrom valamilyen_livecd.iso foo.qcow2
aztán ott mkfs ... hm?

(vad ötlet: -kernel ... -append "init=/sbin/mkfs /dev ..." :)

-- 

## Andrews -- IT Engineering    +           +  ALF -- Firewall for Experts ##
Tel: +36 1 428 0600  |  Email: [email protected]  |  Web: http://www.andrews.hu

_________________________________________________
linux lista      -      [email protected]
http://mlf2.linux.rulez.org/mailman/listinfo/linux

válasz