Bug 964084 - mkfs.xfs does not exist
Summary: mkfs.xfs does not exist
Status: RESOLVED DUPLICATE of bug 907331
Alias: None
Product: openSUSE Distribution
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Leap 42.1
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-28 20:28 UTC by Axel Braun
Modified: 2016-02-15 16:27 UTC (History)
5 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
Sceenshot showing the problem (67.13 KB, image/png)
2016-02-02 11:28 UTC, Ulrich Windl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Axel Braun 2016-01-28 20:28:35 UTC
Wanted to format an external drive with encrypted XFS partition. Result:
Bei der folgenden Aktion ist ein Fehler aufgetreten:  
Partition /dev/sdc2 (3.00 TiB) wird mit xfs formatiert
VOLUME_FORMAT_FAILED  
Der Systemfehlercode lautet: -3008
/sbin/mkfs.xfs -q -f -m crc=1 '/dev/mapper/cr_scsi-35000000000000001-part2':
/bin/sh: /sbin/mkfs.xfs: No such file or directory

Indeed:
docb@T520:/sbin> dir mkfs*
lrwxrwxrwx 1 root root 14 16. Dez 10:51 mkfs -> /usr/sbin/mkfs
lrwxrwxrwx 1 root root 18 16. Dez 10:51 mkfs.bfs -> /usr/sbin/mkfs.bfs
lrwxrwxrwx 1 root root 20 16. Dez 11:05 mkfs.btrfs -> /usr/sbin/mkfs.btrfs
lrwxrwxrwx 1 root root 21 16. Dez 10:51 mkfs.cramfs -> /usr/sbin/mkfs.cramfs
lrwxrwxrwx 1 root root 19 16. Dez 10:50 mkfs.ext2 -> /usr/sbin/mkfs.ext2
lrwxrwxrwx 1 root root 19 16. Dez 10:50 mkfs.ext3 -> /usr/sbin/mkfs.ext3
lrwxrwxrwx 1 root root 19 16. Dez 10:50 mkfs.ext4 -> /usr/sbin/mkfs.ext4
lrwxrwxrwx 1 root root 18 16. Dez 11:02 mkfs.fat -> /usr/sbin/mkfs.fat
lrwxrwxrwx 1 root root 20 16. Dez 10:51 mkfs.minix -> /usr/sbin/mkfs.minix
lrwxrwxrwx 1 root root 20 16. Dez 11:02 mkfs.msdos -> /usr/sbin/mkfs.msdos
lrwxrwxrwx 1 root root 16 16. Dez 11:05 mkfs.ntfs -> /usr/sbin/mkntfs
lrwxrwxrwx 1 root root 19 16. Dez 11:02 mkfs.vfat -> /usr/sbin/mkfs.vfat

Please note that this installation is an upgrade from openSUSE 13.1 - can that be the issue?
Comment 1 Jan Kara 2016-02-01 12:19:49 UTC
Do you have xfsprogs package installed?
Comment 2 Axel Braun 2016-02-01 12:58:49 UTC
(In reply to Jan Kara from comment #1)
> Do you have xfsprogs package installed?

Afterwards, yes :-)
IMHO it should have been installed during the upgrade. Yast has given this as option, without the package being installed
Comment 3 Jan Kara 2016-02-01 13:32:16 UTC
I see, so the problem really is that yast2 offered you to format with XFS while xfsprogs were not installed. I'm reassigning to yast2 team to have a look.
Comment 4 Ulrich Windl 2016-02-02 11:28:27 UTC
Created attachment 664159 [details]
Sceenshot showing the problem

I had the same problem: XFS was offered (and was selected) as filesystem. When yast was about to format the logical volume, there was a failure with a strange error message. The package needed (xfsprogs) had not been installed (as noted).
Comment 5 Martin Pluskal 2016-02-07 08:46:55 UTC
Looks similar to boo#907331
Comment 6 Christopher Hofmann 2016-02-15 16:27:26 UTC
Known problem - already fixed.

*** This bug has been marked as a duplicate of bug 907331 ***