After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 688523 - Can't format 'reiser4'
Can't format 'reiser4'
Status: RESOLVED NOTGNOME
Product: gparted
Classification: Other
Component: application
0.11.0
Other Linux
: Normal normal
: ---
Assigned To: gparted maintainers alias
gparted maintainers alias
Depends on:
Blocks:
 
 
Reported: 2012-11-17 10:58 UTC by maisondouf
Modified: 2012-11-17 17:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description maisondouf 2012-11-17 10:58:40 UTC
Under Ubuntu 12.04.1 with Gparted 0.11.0-2, reiser4progs 1.0.7-6.3fakesync1 and reiserfsprogs 1:3.6.21-1build1, I cant format a partition with 'reiser4' format.

Here repport (gparted_details) :
========================================
GParted 0.11.0 --enable-libparted-dmraid

Libparted 2.3
Formater /dev/sdc6 en reiser4  00:00:03    ( ERREUR )
     	
calibrer /dev/sdc6  00:00:01    ( SUCCÈS )
     	
chemin : /dev/sdc6
début : 21 372 928
fin : 28 872 703
taille : 7 499 776 (3.58 Gio)
définir le type de partition sur /dev/sdc6  00:00:02    ( SUCCÈS )
     	
nouveau type de partition : ext2
créer un nouveau système de fichiers reiser4  00:00:00    ( ERREUR )
     	
mkfs.reiser4 --yes --label "" /dev/sdc6
     	
Warn : Linux 3.2.0-33-generic is detected. Reiser4 does not support such a
platform. Use -f to force over.

========================================
Comment 1 André Klapper 2012-11-17 12:47:52 UTC
Ask you can see in the last line, "Linux 3.2.0-33-generic is detected. Reiser4 does not support such a platform." so I wonder why you filed this bug report?
Comment 2 Mike Fleetwood 2012-11-17 14:16:52 UTC
Hi maisondouf,

As André has pointed out the Ubuntu kernel doesn't support reiser4 file systems.  This is the root cause of why the file system couldn't be created.  You could compile the kernel yourself adding the required patches for reiser4.  However if you don't know how to do this yourself then may I humbly suggest you shouldn't be using reiser4 file system.

You can create the file system by adding the "-f" force flag to the mkfs.reiser4 command line like this, but you will still need to compile a kernel yourself to be able to use the file system.
  mkfs.reiser4 --yes --label "" -f /dev/sdc6

I don't believe that GParted should add this flag when it tries to create reiser4 file systems.  The mkfs.reiser4 manual page suggests the force flag disables a few safety checks, not to mention the one you encountered.

Thanks,
Mike
Comment 3 maisondouf 2012-11-17 17:09:03 UTC
Hi, I've seen that after I post...

I had tried to launch mkfs.reiser4 with -f option and after a while I got the terminal prompt without any error message.

But the partition were always recognized as ext3 (the previous format).

I don't need anymore this format, I use it only to test GPT partition tables.

see : http://forum.ubuntu-fr.org/viewtopic.php?pid=11544721#p11544721

Thanks for all and lot of apologizes.