January 22, 201115 yr Need some help. Trying to move some data over that is on a mac formatted drive. Can anyone give me some insight on how to mount it so I can then follow the direction in the configuration tutorial? I've given my shot at Google but can't find a solution. Thanks, guys!
January 22, 201115 yr you first create a directory at the location, you want to mount the drive "mkdir /mnt/drive" then you can mount the drive with the following command "mount -t hfsplus /dev/sdX /mnt/drive" where you have to change sdX with the correct drive and partition (sde1 for example).
January 22, 201115 yr I don't have any drives formatted with HFS or HFS+ so I can't confirm if this will work... You can use fdisk to find where the device is mapped fdisk -l|grep HPFS and if that doesn't return anything, try fdisk -l and look for something that is NOT reiserfs, ntfs, or fat Assuming that you do the above and find that the device is mapped as sdg you can try mounting it with something like mount -r -t hfsplus /dev/sdg1 /mnt/imported_files If you don't get an error message then you should be able to see your files by executing ls /mnt/imported_files/ All of that said, I'm not sure if unRAID has the kernel drivers for HFS/HFS+ compiled into the kernel so maybe someone who knows can chime in If you can confirm that this works, I'll add the instructions to the wiki.
January 22, 201115 yr Author The util fdisk is not supported by GPT is what I get when I pipe through grep.
January 22, 201115 yr Author I see my two drives labeled Linux, one labeled W95 FAT32 and one labeled EFI GPT.
January 22, 201115 yr I'm not sure whether unRAID has the GPT drivers built in the kernel and gdisk/parted are certainly not in the base install so there is no way that I'm familiar with to even list the partitions of a GPT disk. I'm out of idea's here and I don't have any mac equipment to tinker with. Hopefully someone who has been down this road before can let you know.
January 22, 201115 yr Author It seems the device I used was trying to connect to had multiple partitions. When trying to mount the one that fdisk found it gave me problems but after checking unMENU main page and finding that there were multiple listed (sdd, sdd1, sdd2) for a single drive, I simply tried each one until I was able to mount successfully. I'm in the process of transferring data so it appears everything is working as expected. Just to re-iterate, Spectrums line: mount -r -t hfsplus /dev/sdd2 /mnt/imported_files seemed to do the trick. Thanks again for all the help, everyone!
January 22, 201115 yr Glad that worked for you. It would be nice if there were a way to view the partition information. The fact that you were able to mount the drive means the GPT and HPFS/HPFS+ drivers are built into the kernel. I may tinker with getting gdisk or parted up and running on unRAID. No promises and don't hold your breath In the mean time, if anyone has an easier solution that already works I'm all ears!
January 22, 201115 yr Try: cat /proc/partitions or ls -l /dev/disk/by-id Both will list all the partitions on the disks. If linux does not know the partitions exist "gpartd" or "partd" won't know then either. Joe L.
January 22, 201115 yr Try: cat /proc/partitions or ls -l /dev/disk/by-id Both will list all the partitions on the disks. If linux does not know the partitions exist "gpartd" or "partd" won't know then either. Joe L. True, those will show the partitions exist, but no info about the partitions i.e. filesystem and size. Without having that info, it's just trial and error to figure out which one has the data. fdisk doesn't support GPT so even though linux knows the partitions are there, I don't see a way to the filesystem and size info without a tool that supports GPT.
Archived
This topic is now archived and is closed to further replies.