Re: Same size drive has less usable space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/20/18 10:55 AM, Luciano ES wrote:
> On Thu, 20 Dec 2018 10:10:42 -0600, Eric Sandeen wrote:
> 
>> Well, you have larger inodes on xxbkp for starters.
> 
> I can't make smaller inodes on this disk.
> 
> "specified blocksize 2048 is less than device physical sector size 4096
> switching to logical sector size 512"

1) that's a warning not an error
2) that's blocksize not inode size

but ok, I missed that you had 2k blocks on your backup disk.... I don't
really know what you're trying to do here, TBH.

> another attempt:
> 
> "specified blocksize 2048 is less than device physical sector size 4096
> switching to logical sector size 512
> Minimum inode size for CRCs is 512 bytes"

So, I don't think you turned off crcs here.

> So yes, it's the CRC feature.

So turn it off.

> 
> On Thu, 20 Dec 2018 10:10:42 -0600, Eric Sandeen wrote:
> 
>> # mkfs.xfs -m crc=0,finobt=1 -i sparse=0 -n ftype=0
> 
> Your command line doesn't work. It says:
> 
> finobt not supported without CRC support

yeah I fat-fingered that, make it finobt=0 of course.

> I have confirmed that disabling CRC allows me to have smaller inodes, 
> but I wish I could keep that feature. It sounds like something I want 
> to have, to improve reliability.
> 
> Is there another way?

You're over-constraining yourself here; crcs require larger inodes which
requires more space, by definition.  Sorry, but you can't get something
for nothing.

If you are trying to consume identical space you're going to need to use
an identical format.

-Eric



[Index of Archives]     [XFS Filesystem Development (older mail)]     [Linux Filesystem Development]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux RAID]     [Linux SCSI]


  Powered by Linux