Score:0

inodes & read only bind mount

kh flag

I'm using xfs filesystem, speaking about inodes topic have a question: does RO bind mount points consumes inodes?

The information is the same, strictly speaking; because the binds mounts point to a directory in the same filesystem.

With df -i is possible to see tha inodes consumption, well.

cn flag
Your question is unclear, and would probably be a better fit on Unix/Linux StackExchange.
Score:0
cn flag

Files in the bound directory have exactly the same inode as the original. So no, it doesn't consume anything.

But you could have made the test yourself :

root@storiq-nas10:/mnt/raid# df -i .
Sys. de fichiers         In?uds IUtil.     ILibre IUti% Monté sur
/dev/mapper/vg0-raid 7497565248    107 7497565141    1% /mnt/raid
root@storiq-nas10:/mnt/raid# mount -B test/ bind/
root@storiq-nas10:/mnt/raid# df -i .
Sys. de fichiers         In?uds IUtil.     ILibre IUti% Monté sur
/dev/mapper/vg0-raid 7497565248    107 7497565141    1% /mnt/raid
root@storiq-nas10:/mnt/raid# cd bind/dir/hello/
root@storiq-nas10:/mnt/raid/bind/dir/hello# ls -i 34.txt 
4294967458 34.txt
root@storiq-nas10:/mnt/raid/bind/dir/hello# cd /mnt/raid/test/dir/hello/
root@storiq-nas10:/mnt/raid/test/dir/hello# ls -i 34.txt 
4294967458 34.txt
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.