Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- jupyter
- Windows
- openmp
- HFS+
- HDF5
- datascience
- vim
- vi
- python
- MAC
- polyglot
- mpi4py
- conda
- SSH
- portforwarding
- arXiver
- intel compiler
- Anaconda
- Matplotlib
- hyperref
- cygwin
- tab space
- c++
- Visual Studio
- h5py
- LaTeX
- virtual
- GSL
- gfortran
- cython
Archives
- Today
- Total
Astro Coke
[NAS] read/write HFS+ (mac OS) USB Drive from a synology system 본문
Computer Setup
[NAS] read/write HFS+ (mac OS) USB Drive from a synology system
astrodoo 2021. 9. 25. 10:25source: https://ssledz.github.io/blog/2016/01/10/write-to-an-hfs-plus-usb-drive-from-a-synology-nas/
To be albe to write/read to an HSF+ USB drive, we need first
- disable journaling on the drive
- connect your drive to nas
- remount device with "ro" (read only) flag switched off
disableing journaling in the drive
To be able to do this you need to plug in your device to the mac (I couldn’t do this from my linux). Then to turn journaling off using Disk Utility do or using command as follows:
> sudo diskutil disableJournal /Volumes/TheVolumeName
Remount device with ro flag switched off
First log in as a root to the ds. Then have a look how the drive is mounted
ds> mount
/dev/sdq1 on /volumeUSB1/usbshare1-1 type vfat (utf8,umask=000,shortname=mixed,uid=1024,gid=100,quiet)
/dev/sdq2 on /volumeUSB1/usbshare1-2 type hfsplus (ro,force,uid=1024,gid=100,umask=000)
You can spot that the drive is mounted with the ro(read only) flag.
Now unmount the drive.
ds> umount -f /dev/sdq2
And remount so it is writable using the same info used when it was mounted automatically.
ds> mount -t hfsplus /dev/sdq2 /volumeUSB1/usbshare1-2
Finally, you can notice that device is no longer mounted as read only.
ds> mount
/dev/sdq1 on /volumeUSB1/usbshare1-1 type vfat (utf8,umask=000,shortname=mixed,uid=1024,gid=100,quiet)
/dev/sdq2 on /volumeUSB1/usbshare1-2 type hfsplus (0)
'Computer Setup' 카테고리의 다른 글
[Python] Install polyglot on Mac (0) | 2022.10.06 |
---|---|
[HDF5] Trouble shooting (+fortran) (0) | 2021.07.13 |
[Jupyter] Shutdown by port number (0) | 2021.07.08 |
[Globus] Command-line Globus (in beluga cluster) (0) | 2021.05.17 |
[Linux] create separate tar files from multiple folders (files) (0) | 2021.01.19 |