How to mount HFS+ external USB drive as a shared volume

Questions and mods regarding system management may go here
Forum rules
Please note the disclaimer before modifying your Synology Product.

How to mount HFS+ external USB drive as a shared volume

Postby chaimpeck » Mon Jan 07, 2013 4:46 am

I am trying to mount an HFS+ partition of an external USB hard drive as a shared volume. I am able to mount the disk like this:

Code: Select all
DiskStation> mkdir /volumeUSB1/usbshare1-2     
DiskStation> mount -t hfsplus /dev/sdq2 /volumeUSB1/usbshare1-2/


I am then able to read and write to the disk:

Code: Select all
DiskStation> touch /volumeUSB1/usbshare1-2/test1
DiskStation> touch /volumeUSB1/usbshare1-2/test2
DiskStation> ls /volumeUSB1/usbshare1-2/
test1     test2


The partition is recognized by the NAS:
Image

But it is not showing up as a shared folder:
Image

Is there an additional step to get it to show up as a shared folder?

My goal is for Carbon Copy Cloner to be able to make a clone of my drive onto this disk over the network. If I were to format as EXT3 instead, Carbon Copy Cloner is unable to copy the system files. So, it's gotta be HFS+. The question is whether I can do it through the NAS. Since I am able to mount the drive and read/write to it no problem, I would suspect that it's a minor step that is missing to be able to mount it as a shared disk.

Thanks for any help!
chaimpeck
I'm New!
I'm New!
 
Posts: 5
Joined: Tue Dec 25, 2012 10:03 am

Re: How to mount HFS+ external USB drive as a shared volume

Postby chaimpeck » Mon Jan 14, 2013 6:52 am

bump

I have the directory mounted here:
Code: Select all
/volumeUSB1/usbshare1-2/


I am simply trying to make that directory show up as "shared".
chaimpeck
I'm New!
I'm New!
 
Posts: 5
Joined: Tue Dec 25, 2012 10:03 am

Re: How to mount HFS+ external USB drive as a shared volume

Postby DaveHamilton » Thu Feb 28, 2013 7:35 pm

I think the trick here is first going into Shared Folder and creating a Shared Folder... THEN use *that* as the mountpoint for your USB drive.

For example, if you create a shared folder called USBshare you would then mount to:

mount -t hfsplus /dev/sdq2 /voume1/USBshare

Should work fine, no?
DaveHamilton
Trainee
Trainee
 
Posts: 10
Joined: Fri Aug 17, 2012 10:47 pm

Re: How to mount HFS+ external USB drive as a shared volume

Postby DaveHamilton » Thu Feb 28, 2013 7:39 pm

And as an addendum here, this works (mounting HFS+ drives) but only if the drive is NOT journaled. Thankfully you can disable journaling without having to reformat (and you can re-enable it down the road if you like, too).

The best way to do it is on your Mac. In Disk Utility, highlight the volume, hold down the Option key and click on the File menu, choose "Disable Journaling" and... that's it.
DaveHamilton
Trainee
Trainee
 
Posts: 10
Joined: Fri Aug 17, 2012 10:47 pm

Re: How to mount HFS+ external USB drive as a shared volume

Postby DaveHamilton » Tue Mar 05, 2013 11:16 pm

And another reply: with DSM 4.1 there was a 2TB limit on HFS+ volumes mounting this way due to a bug/limitation in Linux. It seems with DSM 4.2 I am able to mount a 16TB (Drobo) volume no problem. W00t!
DaveHamilton
Trainee
Trainee
 
Posts: 10
Joined: Fri Aug 17, 2012 10:47 pm

Re: How to mount HFS+ external USB drive as a shared volume

Postby tonick » Tue Mar 12, 2013 4:10 pm

It do not work with my LaCie D2 4TB:

DS213> df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/md0 2451064 451072 1897592 19% /
/tmp 257464 264 257200 0% /tmp
/dev/vg1000/lv 3841045800 1459156716 2381786684 38% /volume1
/dev/sds1 201633 8 201625 0% /volumeUSB1/usbshare1-1


DS213> fdisk -l
fdisk: device has more than 2^32 sectors, can't use all of them

Disk /dev/sda: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 267350 2147483647+ ee EFI GPT
fdisk: device has more than 2^32 sectors, can't use all of them

Disk /dev/sdb: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 267350 2147483647+ ee EFI GPT
fdisk: device has more than 2^32 sectors, can't use all of them

Disk /dev/sds: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sds1 1 267350 2147483647 ee EFI GPT


A mount for sds2 or sdq2 tell me "failed: No medium found" . In the control panel "Devices and Printers" the USB disk is listed with 2 partition, but the second partition with File System: "not supported"

any idea?
tonick
I'm New!
I'm New!
 
Posts: 1
Joined: Tue Mar 12, 2013 3:59 pm

Mount NTFS external drive to use via Synology on mac?

Postby imran0 » Thu Apr 11, 2013 1:39 am

I'm getting a Mac this weekend and will probably sell my old PC, it has just dawned on me that all my hard drives I use (via usb dock) are in NTFS format and doesnt work natively on Mac. I dont really want to convert them to one that Mac uses (HFS?).

So I've come up with an idea, if I connect the NTFS drives via the external USB on my DS212+ will I be able to have full read/write access on my Mac?
imran0
Novice
Novice
 
Posts: 55
Joined: Sun Nov 23, 2008 7:21 pm

Mounting an HFS+ Formatted Disk

Postby macuser12790 » Wed Apr 24, 2013 4:34 am

I've been trying to use a variety of HFS+ formatted usb drives, but I haven't been successful. These are formatted natively for use with my Mac, and I'd like to directly transfer the contents to the Synology.

I read the HFS+ support is included in DSM 4.2+ so I thought it would be as simple as plugging them in. For some reason, the NAS recognizes the disks, creates the folders, but when I attempt to look at the folder contents, nothing is there and the size is reported incorrectly.

Steps to reproduce:

1. Insert 1TB NFS+ USB drive (journaling has been turned off)
2. Login to admin
3. Go to file station
4. Select newly created "usbshare1-1" folder
5. No contents are available on the right side

Also, getting information on the device shows the format is "not supported"

I decided to try and mount the disks manually using the terminal, but I'm not successful. I know an answer is to reformat the disks, but I can't because there is data on them I need to transfer.

Code: Select all
Synology> fdisk -l
fdisk: device has more than 2^32 sectors, can't use all of them

Disk /dev/sda: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1      267350  2147483647+ ee EFI GPT
fdisk: device has more than 2^32 sectors, can't use all of them

Disk /dev/sdb: 2199.0 GB, 2199023255040 bytes
255 heads, 63 sectors/track, 267349 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdb1               1      267350  2147483647+ ee EFI GPT

Disk /dev/sdq: 4022 MB, 4022337024 bytes
255 heads, 63 sectors/track, 489 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdq1               1         490     3928063  ee EFI GPT
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(1023, 254, 63) logical=(0, 0, 2)
Partition 1 has different physical/logical endings:
     phys=(1023, 254, 63) logical=(489, 5, 27)

Disk /dev/sdr: 1000.1 GB, 1000170586112 bytes
255 heads, 63 sectors/track, 121597 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdr1               1      121598   976729087+ ee EFI GPT


Synology> umount /dev/sdr1
Synology> mount -t hfsplus /dev/sdr1 /volumeUSB1/usbshare1-1
mount: mounting /dev/sdr1 on /volumeUSB1/usbshare1-1 failed: Invalid argument

NAS Info
Model DS213Air
DSM 4.2-3211
macuser12790
Trainee
Trainee
 
Posts: 15
Joined: Wed Apr 24, 2013 4:13 am

Re: How to mount HFS+ external USB drive as a shared volume

Postby macuser12790 » Wed Apr 24, 2013 4:56 pm

I figured it out. The diskstation does not recognize HFS+ drives natively, but it can be mounted manually. The disk I was referencing in the mount command was incorrect. I needed to add 1 to the last number to mount the HFS+ portion.

Here's link to a tutorial on how to mount an HFS+ drive manually using the terminal.
macuser12790
Trainee
Trainee
 
Posts: 15
Joined: Wed Apr 24, 2013 4:13 am

Re: How to mount HFS+ external USB drive as a shared volume

Postby forgotmyorange » Sun Jun 23, 2013 4:19 am

DaveHamilton wrote:And another reply: with DSM 4.1 there was a 2TB limit on HFS+ volumes mounting this way due to a bug/limitation in Linux. It seems with DSM 4.2 I am able to mount a 16TB (Drobo) volume no problem. W00t!

Does that mean I shouldn't get this error, even though I have 4.2 installed?
fdisk: device has more than 2^32 sectors, can't use all of them
forgotmyorange
Trainee
Trainee
 
Posts: 15
Joined: Sat Jun 22, 2013 5:45 am

Re: How to mount HFS+ external USB drive as a shared volume

Postby DaveHamilton » Fri Jul 26, 2013 5:07 am

The release build of DSM 4.2-3214 auto mounts all my USB HFS+ volumes just fine now. Seems Synology's been working on this! ;)
DaveHamilton
Trainee
Trainee
 
Posts: 10
Joined: Fri Aug 17, 2012 10:47 pm


Return to System Managment Mods

Who is online

Users browsing this forum: No registered users and 4 guests