From nobody Tue Jul 25 14:53:18 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R9Klg0ysNz4pHk6 for ; Tue, 25 Jul 2023 14:53:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R9Klf69LKz3Fcj for ; Tue, 25 Jul 2023 14:53:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690296798; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qMj+w4I8ROHAjftNpT+H9CKeUC5w2/MNQDR2rte4Yzo=; b=o0xnSUPGPEcUJ1t3QV6+RpmWBfOEh3qbAdt7BF/CRSihlMJxuO7FWAIi25hWhpQYGX0SWX Q9O5bc7dbk93boyKC7nmxs5uykWLU0Elq2qoq5h85sSQ1bLna4j9KHUP3dYvhbWFBvhT9Y qBn3SWJidPjQxrdQLgSAiXmNS/6v1D+y9sYhb71dDVVCKX2gC+3whZwneXBY2vMH6dhB5I ARFH71NPGK7kiK2uwM6dSElDXIIhwNy+VPOCW0tYVyyDdfr2BVLsccFAP08pUDwS65YCrw gUbTITM8YJc08QaGdWkWIf2l8m/Sqc5TYCJnsY7NNDgweSh+0+gcPHmck8p+Yg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690296798; a=rsa-sha256; cv=none; b=oqSHStAtp8z4uTqjRyv03/bHCNAIhxubEJ+Vn26OSAWNfdKpZp0UpIHPst9iU1rINz1xf8 lFJbyFxXAGPAlPAw2s1kusgHvFwt865VOAhOqBml7Z6TeBGIEXfaqBMf+bqrvunXRAX7W5 qVxVIhZXj+aoDV55HYYvnZZCIhvAYfvwzxDd00GAgsIvlXe7sASB0ZFLAfOA1lfXqWbTw5 mfXdPR4A3qgMUiC+66JMlvpC705I6UTQpE1v57Zk6Y4Qpu33xZBBXbJRI7oO+HwckNr6mt YG1vew05VYa/FjzR9eFTa3bNW7uiKYZlo+77Mtz05A92ubVw8zDFIYTdzcdGzQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R9Klf5Dlpz14Ls for ; Tue, 25 Jul 2023 14:53:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 36PErIAj062029 for ; Tue, 25 Jul 2023 14:53:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36PErIBM062028 for bugs@FreeBSD.org; Tue, 25 Jul 2023 14:53:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 272719] ufs filesystem No space left on device Date: Tue, 25 Jul 2023 14:53:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: schakrabarti@microsoft.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272719 Bug ID: 272719 Summary: ufs filesystem No space left on device Product: Base System Version: CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: schakrabarti@microsoft.com UFS filesystem giving no free inode error in Azure ARM64 preview image. I am trying to create directory named sandbox in /datadrive, which is having ufs fs and block device. Running truss I can get following: [schakrabarti@arm-freebsd-schakrabarti2 /datadrive]$ truss mkdir sandbox mmap(0x0,135168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) =3D 81664290062336 (0x4a45f3000000) mprotect(0x7b822f39e000,4096,PROT_READ) =3D 0 (0x0) issetugid() =3D 0 (0x0) sigfastblock(0x1,0x7b822f3afe00) =3D 0 (0x0) open("/etc/libmap.conf",O_RDONLY|O_CLOEXEC,01) =3D 3 (0x3) fstat(3,{ mode=3D-rw-r--r-- ,inode=3D35954,size=3D47,blksize=3D32768 }) =3D= 0 (0x0) read(3,"# $FreeBSD$\nincludedir /usr/loc"...,47) =3D 47 (0x2f) close(3) =3D 0 (0x0) open("/usr/local/etc/libmap.d",O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC,05= 3) ERR#2 'No such file or directory' open("/var/run/ld-elf.so.hints",O_RDONLY|O_CLOEXEC,010441603537) =3D 3 (0x3) read(3,"Ehnt\^A\0\0\0\M^@\0\0\0k\0\0\0\0"...,128) =3D 128 (0x80) fstat(3,{ mode=3D-r--r--r-- ,inode=3D37902,size=3D235,blksize=3D32768 }) = =3D 0 (0x0) pread(3,"/lib:/usr/lib:/usr/lib/compat:/u"...,107,0x80) =3D 107 (0x6b) close(3) =3D 0 (0x0) open("/lib/libc.so.7",O_RDONLY|O_CLOEXEC|O_VERIFY,010441603540) =3D 3 (0x3) fstat(3,{ mode=3D-r--r--r-- ,inode=3D36538,size=3D1892592,blksize=3D32768 }= ) =3D 0 (0x0) mmap(0x0,4096,PROT_READ,MAP_PRIVATE|MAP_PREFAULT_READ,3,0x0) =3D 5588515122= 7904 (0x32d3c6965000) mmap(0x0,4341760,PROT_NONE,MAP_GUARD,-1,0x0) =3D 55885163905024 (0x32d3c757c000) mmap(0x32d3c757c000,565248,PROT_READ,MAP_PRIVATE|MAP_FIXED|MAP_NOCORE|MAP_P= REFAULT_READ,3,0x0) =3D 55885163905024 (0x32d3c757c000) mmap(0x32d3c7615000,1269760,PROT_READ|PROT_EXEC,MAP_PRIVATE|MAP_FIXED|MAP_N= OCORE|MAP_PREFAULT_READ,3,0x89000) =3D 55885164531712 (0x32d3c7615000) mmap(0x32d3c775a000,40960,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PR= EFAULT_READ,3,0x1be000) =3D 55885165862912 (0x32d3c775a000) mmap(0x32d3c7773000,28672,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_PR= EFAULT_READ,3,0x1c7000) =3D 55885165965312 (0x32d3c7773000) mmap(0x32d3c777a000,2252800,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_FIXED|MAP_= ANON,-1,0x0) =3D 55885165993984 (0x32d3c777a000) munmap(0x32d3c6965000,4096) =3D 0 (0x0) close(3) =3D 0 (0x0) mprotect(0x32d3c775a000,36864,PROT_READ) =3D 0 (0x0) readlink("/etc/malloc.conf",0x32d3c56a52cc,1024) ERR#2 'No such file or directory' issetugid() =3D 0 (0x0) mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),= -1,0x0) =3D 81664292159488 (0x4a45f3200000) mmap(0x0,2097152,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(12),= -1,0x0) =3D 81664294256640 (0x4a45f3400000) mmap(0x0,4194304,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON|MAP_ALIGNED(21),= -1,0x0) =3D 81664296353792 (0x4a45f3600000) /datadrive: create/symlink failed, no inodes free mkdir("sandbox",0777) ERR#28 'No space left on device' mkdir: write(2,"mkdir: ",7) =3D 7 (0x7) sandboxwrite(2,"sandbox",7) =3D 7 (0x7) : write(2,": ",2) =3D 2 (0x2) issetugid() =3D 0 (0x0) fstatat(AT_FDCWD,"/usr/share/nls/C/libc.cat",0x32d3c56a6470,0x0) ERR#2 'No = such file or directory' fstatat(AT_FDCWD,"/usr/share/nls/libc/C",0x32d3c56a6470,0x0) ERR#2 'No such file or directory' fstatat(AT_FDCWD,"/usr/local/share/nls/C/libc.cat",0x32d3c56a6470,0x0) ERR#2 'No such file or directory' fstatat(AT_FDCWD,"/usr/local/share/nls/libc/C",0x32d3c56a6470,0x0) ERR#2 'No such file or directory' No space left on device write(2,"No space left on device\n",24) =3D 24 (0x18) exit(0x1) process exit, rval =3D 1 The df output [schakrabarti@arm-freebsd-schakrabarti2 /datadrive]$ df -h Filesystem Size Used Avail Capacity Mounted on /dev/gpt/rootfs 29G 3.4G 23G 13% / devfs 1.0K 0B 1.0K 0% /dev /dev/gpt/efiesp 32M 842K 31M 3% /boot/efi /dev/da2p1 992G 8.0K 912G 0% /datadrive /dev/da1p1 579G 8.0K 533G 0% /mnt/resource [schakrabarti@arm-freebsd-schakrabarti2 /datadrive]$ mount /dev/gpt/rootfs on / (ufs, local, soft-updates) devfs on /dev (devfs) /dev/gpt/efiesp on /boot/efi (msdosfs, local) /dev/da2p1 on /datadrive (ufs, local, soft-updates) /dev/da1p1 on /mnt/resource (ufs, local, soft-updates) --=20 You are receiving this mail because: You are the assignee for the bug.=