Score:0

No Space left on device on mounted ext4 file system

ch flag

I have a file named rootfs.ext4. I mount it in a directory like this:

 sudo mount -o loop rootfs.ext4 ./rootfs_tmp

Now in the /rootfs_tmp/media, there is another ext4 file named rootfs_ubuntu.ext4 with size 6G. I delete it want to copy another version of rootfs_ubuntu.ext4 with the exact size in the /rootfs_tmp/media. but it says

 cp: error writing './rootfs_tmp/media/rootfs_ubuntu.ext4: No Space left on device

when I use the command

ds -h 

I see this result

File system | size | Used | Avail | use% | Mounted on


/dev/loop1 | 5.4 | 5.4 | 0 | 100% | /home/noo/rootfs_tmp/media

The whole hard disk is 60G which has 42G free space. can any body help me how cam I fix it?

vanadium avatar
cn flag
What are you really wanting to achieve? This does not look like a question of a regular user.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.