Re: Inconsistent "EXPERIMENTAL online shrink feature in use. Use at your own risk" alert

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

 



Hi,

On Mon, Mar 07, 2022 at 08:19:11PM +0800, David Dal Ben wrote:
> The "XFS (md1): EXPERIMENTAL online shrink feature in use. Use at your
> own risk!" alert is appearing in my syslog/on my console.  It started
> after I upgraded a couple of drives to Toshiba MG09ACA18TE 18Tb
> drives.
> 
> Strangely the alert appears for one drive and not the other.  There
> was no configuring or setting anything up wrt the disks, just
> installed them straight out of the box.
> 
> Is there a real risk?  If so, is there a way to disable the feature?
> 
> Kernel used: Linux version 5.14.15-Unraid
> 
> Syslog snippet:
> 
> Mar  6 19:59:21 tdm emhttpd: shcmd (81): mkdir -p /mnt/disk1
> Mar  6 19:59:21 tdm emhttpd: shcmd (82): mount -t xfs -o noatime
> /dev/md1 /mnt/disk1
> Mar  6 19:59:21 tdm kernel: SGI XFS with ACLs, security attributes, no
> debug enabled
> Mar  6 19:59:21 tdm kernel: XFS (md1): Mounting V5 Filesystem
> Mar  6 19:59:21 tdm kernel: XFS (md1): Ending clean mount
> Mar  6 19:59:21 tdm emhttpd: shcmd (83): xfs_growfs /mnt/disk1
> Mar  6 19:59:21 tdm kernel: xfs filesystem being mounted at /mnt/disk1
> supports timestamps until 2038 (0x7fffffff)
> Mar  6 19:59:21 tdm root: xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl
> failed: No space left on device

...

May I ask what is xfsprogs version used now?

At the first glance, it seems that some old xfsprogs is used here,
otherwise, it will show "[EXPERIMENTAL] try to shrink unused space"
message together with the kernel message as well.

I'm not sure what's sb_dblocks recorded in on-disk super block
compared with new disk sizes.

I guess the problem may be that the one new disk is larger than
sb_dblocks and the other is smaller than sb_dblocks. But if some
old xfsprogs is used, I'm still confused why old version xfsprogs
didn't block it at the userspace in advance.

Thanks,
Gao Xiang

> Mar  6 19:59:21 tdm root: meta-data=/dev/md1               isize=512
>  agcount=32, agsize=137330687 blks
> Mar  6 19:59:21 tdm root:          =                       sectsz=512
>  attr=2, projid32bit=1
> Mar  6 19:59:21 tdm root:          =                       crc=1
>  finobt=1, sparse=1, rmapbt=0
> Mar  6 19:59:21 tdm root:          =                       reflink=1
>  bigtime=0 inobtcount=0
> Mar  6 19:59:21 tdm root: data     =                       bsize=4096
>  blocks=4394581984, imaxpct=5
> Mar  6 19:59:21 tdm root:          =                       sunit=1
>  swidth=32 blks
> Mar  6 19:59:21 tdm root: naming   =version 2              bsize=4096
>  ascii-ci=0, ftype=1
> Mar  6 19:59:21 tdm root: log      =internal log           bsize=4096
>  blocks=521728, version=2
> Mar  6 19:59:21 tdm root:          =                       sectsz=512
>  sunit=1 blks, lazy-count=1
> Mar  6 19:59:21 tdm root: realtime =none                   extsz=4096
>  blocks=0, rtextents=0
> Mar  6 19:59:21 tdm emhttpd: shcmd (83): exit status: 1
> Mar  6 19:59:21 tdm emhttpd: shcmd (84): mkdir -p /mnt/disk2
> Mar  6 19:59:21 tdm kernel: XFS (md1): EXPERIMENTAL online shrink
> feature in use. Use at your own risk!
> Mar  6 19:59:21 tdm emhttpd: shcmd (85): mount -t xfs -o noatime
> /dev/md2 /mnt/disk2
> Mar  6 19:59:21 tdm kernel: XFS (md2): Mounting V5 Filesystem
> Mar  6 19:59:22 tdm kernel: XFS (md2): Ending clean mount
> Mar  6 19:59:22 tdm kernel: xfs filesystem being mounted at /mnt/disk2
> supports timestamps until 2038 (0x7fffffff)
> Mar  6 19:59:22 tdm emhttpd: shcmd (86): xfs_growfs /mnt/disk2
> Mar  6 19:59:22 tdm root: xfs_growfs: XFS_IOC_FSGROWFSDATA xfsctl
> failed: No space left on device


> Mar  6 19:59:22 tdm root: meta-data=/dev/md2               isize=512
>  agcount=32, agsize=137330687 blks
> Mar  6 19:59:22 tdm root:          =                       sectsz=512
>  attr=2, projid32bit=1
> Mar  6 19:59:22 tdm root:          =                       crc=1
>  finobt=1, sparse=1, rmapbt=0
> Mar  6 19:59:22 tdm root:          =                       reflink=1
>  bigtime=0 inobtcount=0
> Mar  6 19:59:22 tdm root: data     =                       bsize=4096
>  blocks=4394581984, imaxpct=5
> Mar  6 19:59:22 tdm root:          =                       sunit=1
>  swidth=32 blks
> Mar  6 19:59:22 tdm root: naming   =version 2              bsize=4096
>  ascii-ci=0, ftype=1
> Mar  6 19:59:22 tdm root: log      =internal log           bsize=4096
>  blocks=521728, version=2
> Mar  6 19:59:22 tdm root:          =                       sectsz=512
>  sunit=1 blks, lazy-count=1
> Mar  6 19:59:22 tdm root: realtime =none                   extsz=4096
>  blocks=0, rtextents=0
> Mar  6 19:59:22 tdm emhttpd: shcmd (86): exit status: 1



[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