Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mounting external hard disk (GPT partitions) under unRaid 5.0b10?

Featured Replies

As per the subject title. I have a LaCie  2BigQuadra external eSATA-2 hard drive (contains 2x2TByte disks) partitioned as 2TB RAID 0 and 1TB RAID 1. Is it possible to mount such partitions under unRaid 5.0b10?

 

I've tried mouning both sdd1 and sdd2 using the command line stated in http://lime-technology.com/forum/index.php?topic=10408.0, basically:

 

mount -r -t hfsplus /dev/sdd1 /mnt/imported_files

 

but this failed probably due to the wrong partition type I guess (hfsplus):

 

root@Tower:~# mount -r -t hfsplus /dev/sdd1 /mnt/tmpdrive1

mount: wrong fs type, bad option, bad superblock on /dev/sdd1,

      missing codepage or helper program, or other error

      In some cases useful info is found in syslog - try

      dmesg | tail  or so

 

 

 

 

unRaid detects the drive and partitons:

 

Aug 12 10:27:05 Tower kernel: ata6.00: ATA-6: eSATA-2 LaCie  2BigQuadra, 0, max UDMA/133

Aug 12 10:27:05 Tower kernel: ata6.00: 5860392464 sectors, multi 0: LBA48

Aug 12 10:27:05 Tower kernel: ata6.00: configured for UDMA/133

Aug 12 10:27:05 Tower kernel: sd 6:0:0:0: [sdd] 5860392464 512-byte logical blocks: (3.00 TB/2.72 TiB)

Aug 12 10:27:05 Tower kernel: sd 6:0:0:0: [sdd] Write Protect is off

Aug 12 10:27:05 Tower kernel: sd 6:0:0:0: [sdd] Mode Sense: 00 3a 00 00

Aug 12 10:27:05 Tower kernel: sd 6:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA

Aug 12 10:27:05 Tower kernel:  sdd: sdd1 sdd2

Aug 12 10:27:05 Tower kernel: sd 6:0:0:0: [sdd] Attached SCSI disk

Aug 12 10:27:05 Tower emhttp: eSATA-2_LaCie_2BigQuadra_JK11C1YAJEARBV (sdd) 2930196232

"cat /proc/partitions" returns:

 

  8      48 2930196232 sdd

  8      49 1953462272 sdd1

  8      50  976731908 sdd2

 

"fdisk -l" returns:

 

WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn

't support GPT. Use GNU Parted.

 

Disk /dev/sdd: 3000.5 GB, 3000520941568 bytes

255 heads, 63 sectors/track, 364792 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Sector size (logical/physical): 512 bytes / 512 bytes

I/O size (minimum/optimal): 512 bytes / 512 bytes

Disk identifier: 0xe81254e7

 

  Device Boot      Start        End      Blocks  Id  System

/dev/sdd1              1      267350  2147483647  ee  GPT

 

Assuming this is even possible can someone help me out with the correct mount command?

 

Thanks in advance.

  • 1 year later...

same thing here on unRadi 5.0RC10. The drive is supposed to be NTFS but i cannot mount it, since it is GPT...What's the solution here?

same thing here on unRadi 5.0RC10. The drive is supposed to be NTFS but i cannot mount it, since it is GPT...What's the solution here?

A GPT partition can hold any kind of file-system.

 

What exact mount command have you tried?

If NTFS, then you might be able to mount it as read-only.  To have better results you would need to use ntfs-3g.  (an add-on package)

ntfs is a read-only driver.  ntfs-3g can read and write.

 

In any case, the OS deals with the partition, all you should need to do is

mkdir /mnt/imported_files

mount -r -t ntfs /dev/sdd1 /mnt/imported_files

or

mount -t ntfs-3g /dev/sdd1 /mnt/imported_files

If the disk was from a striped RAID array, it probably will not work.

 

Joe L.

 

 

 

I looked at the syslog and it said that unraid can only mount NTFS partitions smaller than 2 TB... This drive has full 3TB formated as NTFS, can I still use the ntfs-3g package to mount it?

Another thing that came to my mind over night: unRaids NFTS implementation does not support Unicode characters (most common öäü here in germany), does ntfs-3g keep those filenames when i copy files?

 

That beeing said, would it be easier to just boot ubuntu on the server and copy the files from there? Is that even possible without harming the unraid filesystem?

 

 

edit: I was almost sure that ntfs-3g did not support öäü-Unicode Filenames as a "ls" showed me "Mord\ ist\ mein\ Geschäft.avi*" instead of "Mord\ ist\ mein\ Geschäft.avi*". But i tried to rsync the file with "rsync -tv /mnt/imported_files/E/Filme/Mord\ ist\ mein\ Geschäft.avi /mnt/disk1/Filme/" and now it showed up in my share with the correct ä-Umlaut... I think i can try to copy the files now :-)

 

It would be nice to have a confirmation from one of you guys, still not sure if I am on the right path :-P

ntfs-3g can support unicode, and pretty sure it will also deal with larger file systems that 2TB too,but those are ntfs-3g questions that you could find answers to using google.  They are not specific to unRAID.  The stock driver for ntfs supplied with unRAID is so old and barely handles read-only access. 

 

As far as the character set, you might need to set a language character set a variable for unicode to be used with "ls".

 

export LANG="en_US.utf8"

export LANGUAGE="en_US.utf8"

export LC_CTYPE="en_US.utf8"

 

I'm glad you are seeing the correct characters in your copied files and that ntfs-3g is working for you.

 

Joe L.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.