Closed joon612 closed 2 months ago
Blobfuse does not choose sda1 or any such disk. Path which you have provided as mount path will be used. For the available disk space, blobfuse shows available disk space of the temp-cache path that you have provided for file-cache and not for the mount path itself. Mount path is just a placeholder and no physical data is stored on that path in any form.
What I mean is that by looking at the Avail value, the blobfuse2 mount point is incorrect for the same command.
batch-explorer-user@ff5bb94b12954086b297c58a1ae0ea71000000:~$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 8.5G 21G 30% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 1.6G 1.1M 1.6G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
/dev/sdb15 105M 6.1M 99M 6% /boot/efi
/dev/sda1 49G 15M 47G 1% /mnt
blobfuse2 29G 8.5G 21G 30% /mnt/batch/tasks/fsmounts/videopublic001wu2_raw
blobfuse2 29G 8.5G 21G 30% /mnt/batch/tasks/fsmounts/dataforgevisual001wu2st_annotation-data
blobfuse2 29G 8.5G 21G 30% /mnt/batch/tasks/fsmounts/dataforgedevwu2st_code
tmpfs 793M 4.0K 793M 1% /run/user/1001
Avail of blobfuse2 should same with /mnt (/dev/sda1)
Available will not be for /mnt (where you mount) but rather root of your temp-cache path (that you provide for the file-cache).
Which version of blobfuse was used?
blobfuse2 version 2.3.0~preview.1
Which OS distribution and version are you using?
Ubuntu 22.04.4 LTS (GNU/Linux 6.5.0-1019-azure x86_64)
If relevant, please share your mount command.
sudo blobfuse2 /blobfuse/dataforgevisual001wu2st_video-annotation-data --config-file=/blobfuse/dataforgevisual001wu2st_video-annotation-data.yaml --pre-mount-validate=true -o allow_other --file-cache-timeout-in-seconds=60
What was the issue encountered?
Mounted on the wrong hard disk, resulting in incorrect partition availability information. I want to mount it under
/dev/sda1
, but its 'Avail' is as same as/dev/root
.But in blobfuse1, its mounted correctly, the ‘Avail’ is same with
/dev/sda1
blobfuse2 config yaml
Have you found a mitigation/solution?
Not yet.