Jump to content
XPEnology Community

UnMount - Problem


smokers

Recommended Posts

Hallo,

 

Ich habe das Script S99ZZZ_USB_eject.sh unter /usr/syno/etc/rc.d erstellt. Es hat chmod +x und den folgenden Inhalt:

 

sync; /usr/syno/bin/synousbdisk -umount volume1; >/tmp/usbtab

 

Beim Namen des USB-Sticks bin ich mir nicht ganz sicher, 'mount' sagt mir dazu :

 

/dev/root on / type ext4 (defaults)
/sys on /sys type sysfs (0)
none on /dev/pts type devpts (gid=4,mode=620)
/tmp on /tmp type tmpfs (0)
/run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
/dev/shm on /dev/shm type tmpfs (rw,nosuid,nodev,relatime)
none on /sys/fs/cgroup type tmpfs (uid=0,gid=0,mode=0755,size=4k)
/dev/bus/usb on /proc/bus/usb type bind (bind)
none on /sys/kernel/debug type debugfs (0)
/dev/vg1/volume_1 on /volume1 type ext4 (usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,synoacl)
securityfs on /sys/kernel/security type securityfs (0)
/dev/sdu1 on /volumeUSB1/usbshare type vfat (utf8,umask=000,shortname=mixed,uid=1024,gid=100,quiet)

 

Nichts desto trotz habe ich ausprobiert "-umount volume1; " ; "-umount vg1; " und "-umount volume_1; "

 

Bei allen Befehlen kommt, wenn ich das Script mal manuell starte:

 

MyNas> ./S99ZZZ_USB_eject.sh
Failed to Unmount USB device volume1.
Error Code: [0x0D00 volume_external_unmount.c:95]

 

Und der Stick ist halt noch eingebunden. Jemand eine Idee?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...