Bug 807181

Summary: Formatting with BtrFS fails
Product: [openSUSE] openSUSE 12.3 Reporter: Forgotten User vdAq_Javkn <forgotten_vdAq_Javkn>
Component: YaST2Assignee: David Sterba <dsterba>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: aschnell, avm-xandry, ismail, robert_hirmer
Version: RC 2   
Target Milestone: ---   
Hardware: x86   
OS: Other   
Whiteboard: GOLD
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: My /var/log/YaST2/y2log after using Expert Partitioner 4 times

Description Forgotten User vdAq_Javkn 2013-03-03 09:23:16 UTC
Created attachment 527857 [details]
My /var/log/YaST2/y2log after using Expert Partitioner 4 times

In YaST2 Partitioner, if I try to format a partition with BtrFS, I get the error:
"Failure occurred during the following action:
Formatting partition /dev/sda8 (19.47 GB) with btrfs

System error code was> /3008

/sbin/mkfs.btrfs '/dev/sda8':
error checking /dev/sda8 mount status

Continue despite the error?"

If I click Continue, YaST does not format the partition (if I try to mount it using 'mount /dev/sda8 /mnt' I get an error "mount: unknown filesystem type '(null)'").

However, I can successfully format the same partition as Ext4 or swap in YaST Partitioner.

YaST log is attached (I used the YaST Expert Partitioner four times: first I formatted the partition /dev/sda8 with ext4, then tried to format it with btrfs, then again formatted with ext4, then with swap).

I am using openSUSE 12.3 RC2 KDE Live CD (from USB stick).
Comment 1 Robert Hirmer 2013-03-22 19:28:19 UTC
I have got the same problem when using the gnome-live cd. It occured on two different machines: Lenovo Thinkpad T430 with uefi-bios, no secure boot als well as an older desktop with AMD Athlon 64 3200+.

So I was curious if that may be a OpenSuse problem and gave it another try using the installation-DVD. It worked without problems on the thinkpad. I did not even have to use an extra boot-partition with ext-fs. On the desktop I was forced to use a boot-partition with ext-3 or 4.

Up to now Opensuse runs fine.

I suppose, there is a bug on the live-cd. May be a btrfs-tool is missing or some parameters differ from the installation-DVD.

regards,

Robert
Comment 2 Alexander Mityunin 2013-03-25 02:32:40 UTC
Can confirm this bug too. And respected Russian writer Alexey Fedorchuk mentioned this in his review openSUSE 12.3 (http://suseana.ru/?p=856).

By the way, we both stumbled on this bug using DVD, a total of two computers and a laptop.
Comment 3 Ismail Dönmez 2013-09-27 13:19:45 UTC
Can you retry this with openSUSE 13.1 Beta please? Formatting & using btrfs should be working there.
Comment 4 David Sterba 2013-09-30 14:16:18 UTC
(In reply to comment #0)
> /sbin/mkfs.btrfs '/dev/sda8':
> error checking /dev/sda8 mount status

This looks similar to bug 834173, but this was caused by short-lived update of btrfsprogs that lacked a fix for mount status checks. 12.3 has the patch 0115-btrfs-progs-fixup-is_mounted-checks.patch.

(In reply to comment #3)
> Can you retry this with openSUSE 13.1 Beta please? Formatting & using btrfs
> should be working there.

FWIW, this worked for me.
Comment 5 David Sterba 2013-11-25 16:26:42 UTC
If this happened with DVD installation, we can't fix it for 12.3. Installation on 13.1 works as expected.