michalpolkowski / alt-f

Automatically exported from code.google.com/p/alt-f
0 stars 0 forks source link

Wrong filesystem type in GUI #88

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Mount an ext4 filesystem
2. Verify in shell that it's ext4
3. Verify that the GUI tells it's ext3

What is the expected output? What do you see instead?
For some filesystems, the detction is correct, for other no. I think that 
"native" ext4 filesystems are detected correctly, but ext3 mounted as ext4 
without a complete conversion, no.

What Alt-F version are you using? Have you flashed it?
Alt-F 0.1RC2

What is your disk configuration? Standard, RAID (what level)...
/dev/sda2 on /mnt/sdasystem type ext3 
(rw,relatime,errors=continue,barrier=0,data=writeback)
/dev/sdb2 on /mnt/sdbsystem type ext3 
(rw,relatime,errors=continue,barrier=0,data=writeback)
/dev/sdc1 on /mnt/usb160gb type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sda3 on /mnt/sdadata type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb3 on /mnt/sdbdata type ext4 (rw,relatime,barrier=1,data=ordered)

What operating system are you using on your computer? Using what browser?
Ubuntu 11.10/Firefox 11

Original issue reported on code.google.com by gabriele...@gmail.com on 11 Apr 2012 at 5:41

GoogleCodeExporter commented 9 years ago

Can you please post the output of command

   blkid

Thanks

Original comment by whoami.j...@gmail.com on 11 Apr 2012 at 6:32

GoogleCodeExporter commented 9 years ago
Here it is:

$ sudo blkid
Password:

/dev/mtdblock0: TYPE="minix" 
/dev/sda2: LABEL="sdasystem" UUID="de398998-10d4-4f66-9bf4-4af400c2334b" 
SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdb2: LABEL="sdbsystem" UUID="2b0b7aa2-5da6-4dab-af26-74a2ee01bc5b" 
SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdc1: LABEL="usb160gb" UUID="97621dd4-c3d0-4aed-9b5e-c67400efd1c9" 
TYPE="ext4" 
/dev/sda3: LABEL="sdadata" UUID="11c83bcf-779a-42d0-b1f6-754258132749" 
SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdb3: LABEL="sdbdata" UUID="5ced2075-b74a-419f-91f1-b4052a225c95" 
SEC_TYPE="ext2" TYPE="ext3" 
/dev/loop0: TYPE="squashfs" 
/dev/mtdblock1: TYPE="minix" 

You got it: with blkid the filesystems are detected as ext3, and only the 
"native" ext4 is detected as ext4, regardless of the mounting filesystem type.

Original comment by gabriele...@gmail.com on 11 Apr 2012 at 6:48

GoogleCodeExporter commented 9 years ago
And I use 'blkid' to identify filesystems.

But that is strange, how have you converted the ext3 to ext4 filesystem? Using 
Alt-F Disk Maintenance web page? I just did it now, and blkid reports before 
conversion:

/dev/sdb4: UUID="60589415-9d5e-4212-82af-7ab34abe08e7" SEC_TYPE="ext2" 
TYPE="ext3" 

 and after the conversion:

/dev/sdb4: UUID="60589415-9d5e-4212-82af-7ab34abe08e7" TYPE="ext4" 

The Disk Maintenance by itself uses 

   tune2fs -j # convert first from ext2 to ext3

   tune2fs -O extents,uninit_bg,dir_index # latter to convert from ext3 to ext4

Original comment by whoami.j...@gmail.com on 11 Apr 2012 at 8:56

GoogleCodeExporter commented 9 years ago
Mmmh, I don't remeber how I did the conversion, but surely NOT with the GUI :-(
Sorry can't help with this. Close the bug, because I think this is a "hack by 
yourself" issue ...

Original comment by gabriele...@gmail.com on 14 Apr 2012 at 3:22

GoogleCodeExporter commented 9 years ago

Original comment by whoami.j...@gmail.com on 14 Apr 2012 at 4:36