linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Unable mount subvolume with "File exists" error
@ 2019-03-01 16:11 MASAKI Haruka
  0 siblings, 0 replies; 2+ messages in thread
From: MASAKI Haruka @ 2019-03-01 16:11 UTC (permalink / raw)
  To: linux-btrfs

Hi.

When run this script

***
#!/bin/zsh
setopt RC_EXPAND_PARAM

if [[ $1 == start ]]
then 
  if iscsiadm -m node -L all && mount /mnt/worldvol && mount /MasterVol && mount ~foo/local
  ...
***

failed with
mount: /MasterVol: mount(2) system call failed: File exists.
message after last month Manjaro update.

in /etc/fstab

***
LABEL=MasterBtr                           /MasterVol     btrfs   defaults,relatime,space_cache,compress=lzo,subvol=world,noauto 0 0
LABEL=MasterBtr                           /mnt/worldvol  btrfs   defaults,relatime,space_cache,compress=lzo,noauto 0 0
/MasterVol/local                          /home/foo/local none   rbind,noauto 0 0
***

I could mount every volume by unmount /mnt/worldvol and mount each volume manually, but the script always failed with "File exists."

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Unable mount subvolume with "File exists" error
@ 2019-03-03 12:36 MASAKI Haruka
  0 siblings, 0 replies; 2+ messages in thread
From: MASAKI Haruka @ 2019-03-03 12:36 UTC (permalink / raw)
  To: linux-btrfs

When run this script

***
#!/bin/zsh
setopt RC_EXPAND_PARAM

if [[ $1 == start ]]
then 
  if iscsiadm -m node -L all && mount /mnt/worldvol && mount /MasterVol && mount ~foo/local
  ...
***

failed with
mount: /MasterVol: mount(2) system call failed: File exists.
message after last month Manjaro update.

in /etc/fstab

***
LABEL=MasterBtr                           /MasterVol     btrfs   defaults,relatime,space_cache,compress=lzo,subvol=world,noauto 0 0
LABEL=MasterBtr                           /mnt/worldvol  btrfs   defaults,relatime,space_cache,compress=lzo,noauto 0 0
/MasterVol/local                          /home/foo/local none   rbind,noauto 0 0
***

I could mount every volume by unmount /mnt/worldvol and mount each volume manually, but the script always failed with "File exists."

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-03 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-03 12:36 Unable mount subvolume with "File exists" error MASAKI Haruka
  -- strict thread matches above, loose matches on Subject: below --
2019-03-01 16:11 MASAKI Haruka

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).