From: Andrei Popa <ierdnah@gmail.com>
To: rupert THURNER <rupert.thurner@gmail.com>
Cc: linux-btrfs@vger.kernel.org
Subject: Re: cannot remove files: "rm" gives "no space left on device", 3.2.0-24, ubuntu
Date: Sat, 16 Jun 2012 14:18:15 +0300 [thread overview]
Message-ID: <1339845495.1544.12.camel@ierdnac-hp> (raw)
In-Reply-To: <CAJs9aZ9gsM-hcH-YJpgN6f_YEHrcdJfm808TuCLRKWd1qEGXwg@mail.gmail.com>
https://btrfs.wiki.kernel.org/index.php/FAQ#Help.21_I_ran_out_of_disk_space.21
On Sat, 2012-06-16 at 13:16 +0200, rupert THURNER wrote:
> how would i be able to delete something off this btrfs partition
> again? i saw the following messages in the archives which seem to be a
> little similar ... except a reboot and therfor a remount did not help:
> * http://article.gmane.org/gmane.linux.kernel/1265666/match=enospc
>
> rt@tv:~$ rm -rf /media/388gb-data/.Trash-1000/info/foto.trashinfo
> rm: cannot remove `/media/388gb-data/.Trash-1000/info/foto.trashinfo':
> No space left on device
>
> rt@tv:~$ btrfs filesystem df /media/388gb-data/
> Data: total=260.59GB, used=254.56GB
> System: total=32.00MB, used=24.00KB
> Metadata: total=128.00GB, used=120.01GB
>
> rt@tv:~$ sudo btrfs filesystem show /dev/sda6
> failed to read /dev/sr0
> Label: '388gb-data' uuid: 19223a9e-7840-4798-8ee4-02b5bf9c2899
> Total devices 1 FS bytes used 374.56GB
> devid 1 size 388.62GB used 388.62GB path /dev/sda6
>
> rt@tv:~$ uname -a
> Linux tv 3.2.0-24-generic #39-Ubuntu SMP Mon May 21 16:51:22 UTC 2012
> i686 i686 i386 GNU/Linux
>
> the only snapshot is the one created during converting from ext4:
> $ sudo btrfs subvolume list /media/388gb-data/
> ID 256 top level 5 path ext2_saved
>
>
> open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE|O_CLOEXEC) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=4480528, ...}) = 0
> mmap2(NULL, 262144, PROT_READ, MAP_PRIVATE, 3, 0x2bd) = 0xb7553000
> mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x43a) = 0xb7552000
> close(3) = 0
> ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
> lstat64("/", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> fstatat64(AT_FDCWD,
> "/media/388gb-data/.Trash-1000/info/foto.trashinfo",
> {st_mode=S_IFREG|0644, st_size=56, ...}, AT_SYMLINK_NOFOLLOW) = 0
> unlinkat(AT_FDCWD,
> "/media/388gb-data/.Trash-1000/info/foto.trashinfo", 0) = -1 ENOSPC
> (No space left on device)
> open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=2570, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
> 0) = 0xb7551000
> read(3, "# Locale name alias data base.\n#"..., 4096) = 2570
> read(3, "", 4096) = 0
> close(3) = 0
> munmap(0xb7551000, 4096) = 0
> open("/usr/share/locale/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = -1
> ENOENT (No such file or directory)
> open("/usr/share/locale-langpack/en/LC_MESSAGES/coreutils.mo", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=619, ...}) = 0
> mmap2(NULL, 619, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7551000
> close(3) = 0
> write(2, "rm: ", 4rm: ) = 4
> write(2, "cannot remove `/media/388gb-data"..., 65cannot remove
> `/media/388gb-data/.Trash-1000/info/foto.trashinfo') = 65
> open("/usr/share/locale/en/LC_MESSAGES/libc.mo", O_RDONLY) = -1 ENOENT
> (No such file or directory)
> open("/usr/share/locale-langpack/en/LC_MESSAGES/libc.mo", O_RDONLY) =
> -1 ENOENT (No such file or directory)
> write(2, ": No space left on device", 25: No space left on device) = 25
> write(2, "\n", 1
> ) = 1
> _llseek(0, 0, 0xbfe0d210, SEEK_CUR) = -1 ESPIPE (Illegal seek)
> close(0) = 0
>
>
> rupert
> --
> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2012-06-16 11:19 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-06-16 11:16 cannot remove files: "rm" gives "no space left on device", 3.2.0-24, ubuntu rupert THURNER
2012-06-16 11:18 ` Andrei Popa [this message]
2012-06-16 11:26 ` Hugo Mills
2012-06-16 11:46 ` Peter Maloney
2012-06-16 11:57 ` Sergei Trofimovich
2012-06-16 12:01 ` rupert THURNER
2012-06-17 4:14 ` rupert THURNER
2012-06-17 5:19 ` Andrei Popa
2012-06-17 8:04 ` rupert THURNER
2012-06-17 13:32 ` Mitch Harder
2012-06-17 19:54 ` rupert THURNER
2012-06-18 5:53 ` Goffredo Baroncelli
[not found] ` <CAJs9aZ-GHtO3JsvNqLip9CRXxg_J8RUDM=F7GLfdSqCt-zvB3w@mail.gmail.com>
2012-06-18 16:47 ` Goffredo Baroncelli
2012-06-18 21:54 ` Duncan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1339845495.1544.12.camel@ierdnac-hp \
--to=ierdnah@gmail.com \
--cc=linux-btrfs@vger.kernel.org \
--cc=rupert.thurner@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).