mkfs.btrfs broken

2013-03-07 Thread Swâmi Petaramesh
Hi, mkfs.btrfs v0.20-rc1, as provided in the excellent Parted Magic tool, latest version dated 2013/02/28, is broken : When trying to mkfs.btrfs - even on newly made, FS-free partition, it always spits an error that it cannot check partition mount status and fails. There has always been such an

Re: mkfs.btrfs broken

2013-03-07 Thread Eric Sandeen
On 3/7/13 6:11 AM, Swâmi Petaramesh wrote: Hi, mkfs.btrfs v0.20-rc1, as provided in the excellent Parted Magic tool, latest version dated 2013/02/28, is broken : Unfortunately v0.20-rc1 spans months of development, since btrfs-progs has no consistent release or versioning activity. When

Re: mkfs.btrfs broken

2013-03-07 Thread Anand Jain
On 03/07/2013 08:11 PM, Swâmi Petaramesh wrote: Hi, mkfs.btrfs v0.20-rc1, as provided in the excellent Parted Magic tool, latest version dated 2013/02/28, is broken : When trying to mkfs.btrfs - even on newly made, FS-free partition, it always spits an error that it cannot check partition

Re: mkfs.btrfs broken

2013-03-07 Thread Swâmi Petaramesh
Le 07/03/2013 14:37, Eric Sandeen a écrit : What error messages does it emit, anything helpful? root@partedmagic:~# file -s /dev/sda5 /dev/sda5: data root@partedmagic:~# mkfs.btrfs /dev/sda5 WARNING! - Btrfs v0.20-rc1 IS EXPERIMENTAL WARNING! - see http://btrfs.wiki.kernel.org before using

Re: mkfs.btrfs broken

2013-03-07 Thread Eric Sandeen
On 3/7/13 9:09 AM, Swâmi Petaramesh wrote: Le 07/03/2013 14:37, Eric Sandeen a écrit : What error messages does it emit, anything helpful? root@partedmagic:~# file -s /dev/sda5 /dev/sda5: data root@partedmagic:~# mkfs.btrfs /dev/sda5 WARNING! - Btrfs v0.20-rc1 IS EXPERIMENTAL

Re: mkfs.btrfs broken

2013-03-07 Thread Swâmi Petaramesh
Le 07/03/2013 16:13, Eric Sandeen a écrit : # strace -o tracefile.txt mkfs.btrfs /dev/sda5 tracefile.txt will contain all syscalls made by the binary and their results, which might give us a clue what's gone wrong. -Eric Here it goes ! execve(/sbin/mkfs.btrfs, [mkfs.btrfs, /dev/sda5], [/* 28

Re: mkfs.btrfs broken

2013-03-07 Thread Chris Mason
On Thu, Mar 07, 2013 at 08:21:51AM -0700, Swâmi Petaramesh wrote: Le 07/03/2013 16:13, Eric Sandeen a écrit : # strace -o tracefile.txt mkfs.btrfs /dev/sda5 tracefile.txt will contain all syscalls made by the binary and their results, which might give us a clue what's gone wrong. -Eric

Re: mkfs.btrfs broken

2013-03-07 Thread Swâmi Petaramesh
Le 07/03/2013 16:35, Chris Mason a écrit : Could you please send the contents of /proc/mounts Here it goes ! (Last line is the USB key I dropped in just for taking a copy of /proc/mounts ; it didn't exist at the time the errors occured...) rootfs / rootfs rw 0 0 proc /proc proc rw,relatime 0 0

Re: mkfs.btrfs broken

2013-03-07 Thread Jérôme Poulin
On Thu, Mar 7, 2013 at 10:21 AM, Swâmi Petaramesh sw...@petaramesh.org wrote: lstat64(/sqfs_disk, 0xbff57820) = -1 ENOENT (No such file or directory) mkfs.btrfs tries to lookup loop devices by their filenames and fails if any loop device file is missing. -- To unsubscribe from this list:

Re: mkfs.btrfs broken

2013-03-07 Thread Swâmi Petaramesh
Le 07/03/2013 19:06, Jérôme Poulin a écrit : mkfs.btrfs tries to lookup loop devices by their filenames and fails if any loop device file is missing. Hmm Why would mkfs.btrfs want to lookup anything else but the device we're trying to format, to check if it's mounted or not ? -- Swâmi

Re: mkfs.btrfs broken

2013-03-07 Thread Mitch Harder
On Thu, Mar 7, 2013 at 12:10 PM, Swâmi Petaramesh sw...@petaramesh.org wrote: Le 07/03/2013 19:06, Jérôme Poulin a écrit : mkfs.btrfs tries to lookup loop devices by their filenames and fails if any loop device file is missing. Hmm Why would mkfs.btrfs want to lookup anything else but the