[opensuse] disk size, how is this possible?
two seemingly identical disks (usb enclosure): Disque /dev/sdc : 931,5 GiB dev/sdc1 2048 1953525167 1953523120 931,5G 83 Linux Disque /dev/sdd : 931,5 GiB, /dev/sdd1 2048 1953525163 1953523116 931,5G 83 Linux and same sector size... df -h: /dev/sdd1 917G /dev/sdc1 925G not the same size! mount: /dev/sdd1 on /run/media/jdd/926ae05a-dcd4-4939-8d30-3ef5ed75894e type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) /dev/sdc1 on /run/media/jdd/archives-2012 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2) same file system, same options any idea? thanks jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On 28/05/15 20:26, jdd wrote:
two seemingly identical disks (usb enclosure):
Disque /dev/sdc : 931,5 GiB dev/sdc1 2048 1953525167 1953523120 931,5G 83 Linux
Disque /dev/sdd : 931,5 GiB, /dev/sdd1 2048 1953525163 1953523116 931,5G 83 Linux
and same sector size...
df -h: /dev/sdd1 917G /dev/sdc1 925G
not the same size!
mount: /dev/sdd1 on /run/media/jdd/926ae05a-dcd4-4939-8d30-3ef5ed75894e type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sdc1 on /run/media/jdd/archives-2012 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
same file system, same options
any idea?
thanks jdd
No difference in the blocks allocated for root? Though I don't know if that would affect the size that's shown running that command. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
В Thu, 28 May 2015 20:26:36 +0200 jdd <jdd@dodin.org> пишет:
two seemingly identical disks (usb enclosure):
Disque /dev/sdc : 931,5 GiB dev/sdc1 2048 1953525167 1953523120 931,5G 83 Linux
Disque /dev/sdd : 931,5 GiB, /dev/sdd1 2048 1953525163 1953523116 931,5G 83 Linux
and same sector size...
df -h: /dev/sdd1 917G /dev/sdc1 925G
not the same size!
So what? Filesystem size != device size. In the worst case filesystem can even be bigger, although you probably won't be able to use it for a long time in this case, at least for writing.
mount: /dev/sdd1 on /run/media/jdd/926ae05a-dcd4-4939-8d30-3ef5ed75894e type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sdc1 on /run/media/jdd/archives-2012 type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
same file system, same options
any idea?
Check *filesystem* size, check reserved space. tune2fs -l, block count and reserved block count. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 28/05/2015 20:36, Andrei Borzenkov a écrit :
So what? Filesystem size != device size.
as far as I remember, the two of them created with mkfs.ext4 by me (but not at the same date)
Check *filesystem* size, check reserved space. tune2fs -l, block count and reserved block count.
tune2fs -l /dev/sdc1 | grep lock Block count: 244190390 Reserved block count: 12209518 tune2fs -l /dev/sdd1 | grep lock Block count: 244190389 Reserved block count: 12209519 one block difference block size 4096, same jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Thu, May 28, 2015 at 2:44 PM, jdd <jdd@dodin.org> wrote:
Le 28/05/2015 20:36, Andrei Borzenkov a écrit :
So what? Filesystem size != device size.
as far as I remember, the two of them created with mkfs.ext4 by me (but not at the same date)
Check *filesystem* size, check reserved space. tune2fs -l, block count and reserved block count.
tune2fs -l /dev/sdc1 | grep lock Block count: 244190390 Reserved block count: 12209518
tune2fs -l /dev/sdd1 | grep lock Block count: 244190389 Reserved block count: 12209519
one block difference block size 4096, same
The original issue was with different amounts of freespace: df -h: /dev/sdd1 917G /dev/sdc1 925G If freshly formatted they should be the same. Once you start using a filesystem the freespace starts to change. I don't know if "rm -rf /mnt_point" will bring the 2 back into alignment. So, what is the usage history of the 2 filesystems? Both virgin? One virgin, one used and then content deleted? Greg -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Le 28/05/2015 21:05, Greg Freemyer a écrit :
So, what is the usage history of the 2 filesystems? Both virgin? One virgin, one used and then content deleted?
most of the time, contents often deleted, but there are no hidden files (first thing I tested) and the difference is pretty large there is one block difference that can come from building difference, but going from 917 to 925 Gb... *7Gb* difference... jdd -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
Greg Freemyer
-
gumb
-
jdd