Same USB Media Device, one with permissions and the other with different name (Seagate_Basic_NABCFRFP_1 and da1p1 both of them in media)

freebsd142samemediadevice.png


Hi I have the following problems, I have a external USB Hardisk, which appears two with different names in the file system, but I want to change the permissions of Seagate_Basic_NABCFRFP_1 to make it readable and also to write because I want to use this hardisk to install some virtual machines on Virtual Box. When I try to change the permission with sudo chmod 777 then it seems not to be working and the hardisk seems to be blocked like the image in the screenshot, what can be the problem ?
 
Last edited:
Show me output of these commands if [ code ] block:

# mount
# df -g
# zpool list
# zfs list -r -t all THISPOOL


Thanks.
 
Code:
zroot/ROOT/default on / (zfs, local, noatime, nfsv4acls)
devfs on /dev (devfs)
/dev/gpt/efiboot0 on /boot/efi (msdosfs, local)
fdescfs on /dev/fd (fdescfs)
procfs on /proc (procfs, local)
linprocfs on /compat/linux/proc (linprocfs, local)
tmpfs on /compat/linux/dev/shm (tmpfs, local)
linsysfs on /compat/linux/sys (linsysfs, local)
fdescfs on /dev/fd (fdescfs)
procfs on /proc (procfs, local)
zroot/tmp on /tmp (zfs, local, noatime, nosuid, nfsv4acls)
zroot/var/log on /var/log (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot on /zroot (zfs, local, noatime, nfsv4acls)
zroot/home on /home (zfs, local, noatime, nfsv4acls)
zroot/var/audit on /var/audit (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/mail on /var/mail (zfs, local, nfsv4acls)
zroot/var/crash on /var/crash (zfs, local, noatime, noexec, nosuid, nfsv4acls)
zroot/var/tmp on /var/tmp (zfs, local, noatime, nosuid, nfsv4acls)
zroot/usr/src on /usr/src (zfs, local, noatime, nfsv4acls)
zroot/home/superusr on /home/superusr (zfs, local, noatime, nfsv4acls)
zroot/usr/ports on /usr/ports (zfs, local, noatime, nosuid, nfsv4acls)
devfs on /compat/linux/dev (devfs)
fdescfs on /compat/linux/dev/fd (fdescfs)
/dev/da0p1 on /media/da0p1 (ufs, local, soft-updates)

Filesystem          1G-blocks Used Avail Capacity  Mounted on
zroot/ROOT/default        887   34   852     4%    /
devfs                       0    0     0     0%    /dev
/dev/gpt/efiboot0           0    0     0    13%    /boot/efi
fdescfs                     0    0     0     0%    /dev/fd
procfs                      0    0     0     0%    /proc
linprocfs                   0    0     0     0%    /compat/linux/proc
tmpfs                      17    0    17     0%    /compat/linux/dev/shm
linsysfs                    0    0     0     0%    /compat/linux/sys
fdescfs                     0    0     0     0%    /dev/fd
procfs                      0    0     0     0%    /proc
zroot/tmp                 853    0   852     0%    /tmp
zroot/var/log             852    0   852     0%    /var/log
zroot                     852    0   852     0%    /zroot
zroot/home                852    0   852     0%    /home
zroot/var/audit           852    0   852     0%    /var/audit
zroot/var/mail            852    0   852     0%    /var/mail
zroot/var/crash           852    0   852     0%    /var/crash
zroot/var/tmp             852    0   852     0%    /var/tmp
zroot/usr/src             853    0   852     0%    /usr/src
zroot/home/superusr       872   19   852     2%    /home/superusr
zroot/usr/ports           858    5   852     1%    /usr/ports
devfs                       0    0     0     0%    /compat/linux/dev
fdescfs                     0    0     0     0%    /compat/linux/dev/fd
/dev/da0p1               3609  440  2880    13%    /media/da0p1
map -hosts                  0    0     0   100%    /net

NAME    SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
zroot   944G  61.8G   882G        -         -     3%     6%  1.00x    ONLINE  -

NAME                                        USED  AVAIL  REFER  MOUNTPOINT
zroot                                      61.8G   853G    96K  /zroot
zroot/ROOT                                 36.1G   853G    96K  none
zroot/ROOT/14.2-RELEASE_2025-02-05_171920     8K   853G  10.4G  /
zroot/ROOT/default                         36.1G   853G  34.5G  /
zroot/ROOT/default@2025-02-05-17:19:20-0   1.64G      -  10.4G  -
zroot/home                                 19.3G   853G    96K  /home
zroot/home/superusr                        19.3G   853G  19.3G  /home/superusr
zroot/tmp                                   103M   853G   103M  /tmp
zroot/usr                                  6.23G   853G    96K  /usr
zroot/usr/ports                            5.39G   853G  5.39G  /usr/ports
zroot/usr/src                               852M   853G   852M  /usr/src
zroot/var                                  2.37M   853G    96K  /var
zroot/var/audit                              96K   853G    96K  /var/audit
zroot/var/crash                              96K   853G    96K  /var/crash
zroot/var/log                              1.82M   853G  1.82M  /var/log
zroot/var/mail                              160K   853G   160K  /var/mail
zroot/var/tmp                               120K   853G   120K  /var/tmp
 
Last edited by a moderator:
Where [ code ] tag? :)

/dev/da0p1 on /media/da0p1 (ufs, local, soft-updates)

... and its UFS - not ZFS.

... and its mounted only once - /media/da0p1 - here.

Show me the output of this command:

# ls -l /media
 
Back
Top