Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Mar 2016 23:23:16 +0200
From:      Sami Halabi <sodynet1@gmail.com>
To:        "Nagy, Attila" <bra@fsn.hu>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: zfs and st_nlink limit at 32767
Message-ID:  <CAEW%2BogYcSRQEty1cY_i6A0fHfKX2AH%2B%2B8psJN944wgS61EQuqw@mail.gmail.com>
In-Reply-To: <56DB377F.9020205@fsn.hu>
References:  <56DB377F.9020205@fsn.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
it seems an integer limit (32bit).. I guess easily to fix by converting to
unsigned int / 64 bit.

sami
=D7=91=D7=AA=D7=90=D7=A8=D7=99=D7=9A 5 =D7=91=D7=9E=D7=A8=D7=A5 2016 9:54 P=
M,=E2=80=8F "Nagy, Attila" <bra@fsn.hu> =D7=9B=D7=AA=D7=91:

> Hi,
>
> If I create a million hard links to a file, stat -s says it has 32767:
> $ stat -s 900402.24.t
> st_dev=3D1709683738 st_ino=3D719745 st_mode=3D0100644 st_nlink=3D32767 st=
_uid=3D1001
> st_gid=3D0 st_rdev=3D4294967295 st_size=3D81688 st_atime=3D1455881393
> st_mtime=3D1455881393 st_ctime=3D1457206643 st_birthtime=3D1457206536
> st_blksize=3D81920 st_blocks=3D67 st_flags=3D2048
>
> Is this a limitation somewhere which is hard to remove, or just an easily
> fixable "legacy" from the times, when all filesystems contained this limi=
t?
> _______________________________________________
> freebsd-fs@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAEW%2BogYcSRQEty1cY_i6A0fHfKX2AH%2B%2B8psJN944wgS61EQuqw>