Solved V12.1 HDD mount error "No such file or directory" using labels

John Watson

Member

Reaction score: 1
Messages: 28

Hi,

I have a working system and after adding a hard drive from another Freebsd system, cannot mount the labeled partitions. After following the Freebsd documentation, below is the relevant information.

Code:
# mount -a
mount: /squid: No such file or directory
mount: /backup: No such file or directory

-----

## gpart show -l mfid1
=>       40  584843184  mfid1  GPT  (279G)
         40   41943040      1  squid  (20G)
   41943080  104857600      2  backup  (50G)
  146800680  438042544      3  media  (209G)

-----

/dev/label # ls
backup  media   squid

-----

/etc/fstab
### backup disk
/dev/label/squid          /squid            ufs     rw              2      2
/dev/label/backup          /backup            ufs     rw              2      2
/dev/label/media          /media            ufs     rw              2      2

-----
Thanks for any input.
 
Top