Welcome! Log In Create A New Profile

Advanced

4Tb HDD on GoFlex NET

Posted by 4apaev 
4Tb HDD on GoFlex NET
April 17, 2016 04:04AM
Hi,
I have problem with 4Tb HDD on GoFlex NET.
I connect HDD to the GoFlex via USB is all ok and I can use this Device without problem, but I connect the same HDD to the same GoFlex via S-ATA, I can not see this HDD. Can you help me please?

Debian version
root@debian:~# uname -a
Linux debian 4.4.0-kirkwood-tld-1 #1 PREEMPT Mon Jan 25 20:35:24 PST 2016 armv5tel GNU/Linux

here HDD connected via USB
root@debian:~# cat /proc/partitions
major minor  #blocks  name

  31        0       1024 mtdblock0
  31        1       4096 mtdblock1
  31        2      32768 mtdblock2
  31        3     224256 mtdblock3
   8        0    3910656 sda
   8        1    3908608 sda1
   8       16 3907018580 sdb
   8       17 3907016704 sdb1
root@debian:~#


here HDD connected via SATA:
root@debian:~# cat /proc/partitions
major minor  #blocks  name

  31        0       1024 mtdblock0
  31        1       4096 mtdblock1
  31        2      32768 mtdblock2
  31        3     224256 mtdblock3
   8        0    3910656 sda
   8        1    3908608 sda1
   8       16 3907018584 sdb
root@debian:~#
Re: 4Tb HDD on GoFlex NET
April 17, 2016 01:42PM
It seems it sees the device (it sees sdb) but does not see the partition (sdb1).

can you post the output of dmesg? That's driver messages, it will tell us what is happening when you connect the device.

connect the usb hdd, then write "dmesg" in the command line, you will see a long dump of stuff, the last lines will be talking about the device you just connected, post that.

then do the same with the drive connected to sata.

This is a sample output of my dmesg when I connect a usb flash drive, don't post the whole dmesg dump.

[24526.544048] usb 6-1.4.1.3: new high-speed USB device number 13 using ehci-pci
[24526.659489] usb 6-1.4.1.3: New USB device found, idVendor=8564, idProduct=1000
[24526.659493] usb 6-1.4.1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[24526.659496] usb 6-1.4.1.3: Product: Mass Storage Device
[24526.659498] usb 6-1.4.1.3: Manufacturer: JetFlash
[24526.659499] usb 6-1.4.1.3: SerialNumber: MG4UP0K4
[24526.660019] usb-storage 6-1.4.1.3:1.0: USB Mass Storage device detected
[24526.661133] scsi host8: usb-storage 6-1.4.1.3:1.0
[24527.662175] scsi 8:0:0:0: Direct-Access     JetFlash Transcend 4GB    8.07 PQ: 0 ANSI: 4
[24527.662907] sd 8:0:0:0: Attached scsi generic sg2 type 0
[24527.664116] sd 8:0:0:0: [sdc] 7839744 512-byte logical blocks: (4.01 GB/3.74 GiB)
[24527.665223] sd 8:0:0:0: [sdc] Write Protect is off
[24527.665230] sd 8:0:0:0: [sdc] Mode Sense: 23 00 00 00
[24527.666386] sd 8:0:0:0: [sdc] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[24527.671519]  sdc: sdc1
[24527.675589] sd 8:0:0:0: [sdc] Attached SCSI removable disk
[24527.872973] EXT4-fs (sdc1): mounted filesystem with ordered data mode. Opts: (null)
Re: 4Tb HDD on GoFlex NET
April 17, 2016 02:58PM
@4apaev,

Do what boba said above, but also tell us more:

- How did you prepare the 4TB HDD? using parted to create a 4TB GPT partition? or did you use the hybrid method (older technique which is not necessary with new u-boot).

- When you booted with USB 4TB, what are the out put of
parted -l
and
fdisk -l

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: 4Tb HDD on GoFlex NET
April 17, 2016 03:06PM
thanks for your help.

here USB connect
[  133.343310] usb 1-1.4: new high-speed USB device number 4 using orion-ehci
[  133.525379] usb 1-1.4: New USB device found, idVendor=0bc2, idProduct=ab28
[  133.532310] usb 1-1.4: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[  133.539954] usb 1-1.4: Product: BUP BK
[  133.543757] usb 1-1.4: Manufacturer: Seagate
[  133.548050] usb 1-1.4: SerialNumber: NA7P6L6H
[  133.559902] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[  133.567520] scsi host3: usb-storage 1-1.4:1.0
[  134.599471] scsi 3:0:0:0: Direct-Access     Seagate  BUP BK           0214 PQ: 0 ANSI: 0
[  134.611065] sd 3:0:0:0: [sdb] 976754645 4096-byte logical blocks: (3.90 TB/3.63 TiB)
[  134.622234] sd 3:0:0:0: Attached scsi generic sg1 type 0
[  134.634709] sd 3:0:0:0: [sdb] Write Protect is off
[  134.639542] sd 3:0:0:0: [sdb] Mode Sense: 0f 00 00 00
[  134.643026] sd 3:0:0:0: [sdb] No Caching mode page found
[  134.653994] sd 3:0:0:0: [sdb] Assuming drive cache: write through
[  134.662676] sd 3:0:0:0: [sdb] 976754645 4096-byte logical blocks: (3.90 TB/3.63 TiB)
[  134.810036]  sdb: sdb1
[  134.819565] sd 3:0:0:0: [sdb] 976754645 4096-byte logical blocks: (3.90 TB/3.63 TiB)
[  134.832717] sd 3:0:0:0: [sdb] Attached SCSI disk

here SATA connect
[  178.677383] usb 1-1.4: USB disconnect, device number 4
[  189.127212] ata1: exception Emask 0x10 SAct 0x0 SErr 0x4010000 action 0xe frozen
[  189.134679] ata1: edma_err_cause=00000010 pp_flags=00000000, dev connect
[  189.141410] ata1: SError: { PHYRdyChg DevExch }
[  189.146410] ata1: hard resetting link
[  195.093309] ata1: link is slow to respond, please be patient (ready=0)
[  195.393319] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[  195.453353] ata1.00: ATA-9: ST4000LM016-1N2170, 0003, max UDMA/133
[  195.459564] ata1.00: 7814037168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[  195.543359] ata1.00: configured for UDMA/133
[  195.547665] ata1: EH complete
[  195.551131] scsi 1:0:0:0: Direct-Access     ATA      ST4000LM016-1N21 0003 PQ: 0 ANSI: 5
[  195.564177] sd 1:0:0:0: [sdb] 7814037168 512-byte logical blocks: (4.00 TB/3.63 TiB)
[  195.571969] sd 1:0:0:0: [sdb] 4096-byte physical blocks
[  195.581874] sd 1:0:0:0: Attached scsi generic sg1 type 0
[  195.597284] sd 1:0:0:0: [sdb] Write Protect is off
[  195.602116] sd 1:0:0:0: [sdb] Mode Sense: 00 3a 00 00
[  195.607508] sd 1:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  195.634467] sd 1:0:0:0: [sdb] Attached SCSI disk
Re: 4Tb HDD on GoFlex NET
April 17, 2016 03:21PM
@bodhi

here is output from parted and fdisk

root@debian:~# parted -l
Model: SanDisk Cruzer Fit (scsi)
Disk /dev/sda: 4005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      65.5kB  4002MB  4002MB  primary  ext3


Model: Seagate USB 3.0 Cable (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 4096B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name                  Flags
 1      1049kB  4001GB  4001GB  ntfs         Basic data partition  msftdata

root@debian:~# fdisk -l

Disk /dev/sda: 3.7 GiB, 4004511744 bytes, 7821312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start     End Sectors  Size Id Type
/dev/sda1         128 7817343 7817216  3.7G  6 FAT16

Disk /dev/sdb: 3.7 TiB, 4000787025920 bytes, 976754645 sectors
Units: sectors of 1 * 4096 = 4096 bytes
Sector size (logical/physical): 4096 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: D819BBC6-0D2B-4895-AB20-028A66159206

Device     Start       End   Sectors  Size Type
/dev/sdb1    256 976754431 976754176  3.7T Microsoft basic data

root@debian:~#
Re: 4Tb HDD on GoFlex NET
April 17, 2016 04:33PM
4apaev,

It does not show anything out of the ordinary.

It'll be good to see:

- The same parted and fdisk output when it is connected as SATA.
- Also how did you prepare the disk before? was that on Linux (which command) or on OSX or Windows?
- Are there important data on it, i.e. is it OK to wipe the disk and create new partition?

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: 4Tb HDD on GoFlex NET
April 18, 2016 11:01AM
bodhi Wrote:
-------------------------------------------------------
> - The same parted and fdisk output when it is connected as SATA.
root@debian:~# parted -l
Model: SanDisk Cruzer Fit (scsi)
Disk /dev/sda: 4005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      65.5kB  4002MB  4002MB  primary  ext3

Error: /dev/sdb: unrecognised disk label
Model: ATA ST4000LM016-1N21 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: unknown
Disk Flags:

root@debian:~# fdisk -l

Disk /dev/sda: 3.7 GiB, 4004511744 bytes, 7821312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start     End Sectors  Size Id Type
/dev/sda1         128 7817343 7817216  3.7G  6 FAT16

Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x19fb35e4

Device     Boot Start        End    Sectors Size Id Type
/dev/sdb1           1 4294967295 4294967295   2T ee GPT

Partition 2 does not start on physical sector boundary.

root@debian:~#


> - Also how did you prepare the disk before? was that on Linux (which command) or on OSX or Windows?

I use the DISKPART under Win 8.1 with following commands:

 C:\> Diskpart

DISKPART> list disk
DISKPART> select disk 2
DISKPART> clean
DISKPART> convert gpt


> - Are there important data on it, i.e. is it OK to wipe the disk and create new partition?

The disk is empty, I can create new portition, very important for me is only 1 partition and NTFS file system on disk.
Re: 4Tb HDD on GoFlex NET
April 18, 2016 01:13PM
4apaev,

I think it is best to avoid Windows tools for this. There are 3 different ways you can do this:

1. If you have access to Mac OSX, use it to create the GPT partition with HFS+ file system.
2. If you dont have Mac OSX, download and boot the PC with Linux Live CD, and then use gparted, or parted to wipe and create new GPT partiton with Ext3/2/4 filesystem.

and in either case , then mount it in this GoFlexNet, reformat the file system to NTFS using ntfs-3g. You will need to install ntfs-3g.

3. This is the simplest approach, what I would do: leave the disk in the SATA slot, boot up the GFNet, install gdisk and ntfs-3g. And then use gdisk to wipe and create new gpt partition. After that, reformat the file system to NTFS using ntfs-3g tool.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 04/18/2016 01:17PM by bodhi.
Re: 4Tb HDD on GoFlex NET
April 18, 2016 02:50PM
bodhi Wrote:
-------------------------------------------------------
> 3. This is the simplest approach, what I would do:leave the disk in the SATA slot, boot up the GFNet, install gdisk and ntfs-3g. And then use gdisk to wipe and create new gpt partition. After that, reformat the file system to NTFS using ntfs-3g tool.

here is my steps
root@debian:~# gdisk /dev/sdb
GPT fdisk (gdisk) version 0.8.10

Partition table scan:
  MBR: protective
  BSD: not present
  APM: not present
  GPT: present

Found valid GPT with protective MBR; using GPT.

Command (? for help): d
Using 1

Command (? for help): n
Partition number (1-128, default 1):
First sector (34-7814037134, default = 40) or {+-}size{KMGTP}:
Last sector (40-7814037134, default = 7814037134) or {+-}size{KMGTP}:
Current type is 'Linux filesystem'
Hex code or GUID (L to show codes, Enter = 8300): 0700
Changed type of partition to 'Microsoft basic data'

Command (? for help): p
Disk /dev/sdb: 7814037168 sectors, 3.6 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 3B9CE1B8-E771-4C1D-92AF-812B7C744ABA
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 7814037134
Partitions will be aligned on 8-sector boundaries
Total free space is 6 sectors (3.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              40      7814037134   3.6 TiB     0700  Microsoft basic data

Command (? for help): w

Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
PARTITIONS!!

Do you want to proceed? (Y/N): y
OK; writing new GUID partition table (GPT) to /dev/sdb.
The operation has completed successfully.
root@debian:~# cat /proc/partitions
major minor  #blocks  name

  31        0       1024 mtdblock0
  31        1       4096 mtdblock1
  31        2      32768 mtdblock2
  31        3     224256 mtdblock3
   8        0    3910656 sda
   8        1    3908608 sda1
   8       16 3907018584 sdb
   8       17 3907018547 sdb1
root@debian:~# mkfs.ntfs -f /dev/sdb1
Cluster size has been automatically set to 4096 bytes.
Creating NTFS volume structures.
mkntfs completed successfully. Have a nice day.

on GFNet all ok, but I have problem on Windows. Windows will not recognise this USB disk anymore.

outputs from fdisk and parted
root@debian:~# fdisk -l

Disk /dev/sda: 3.7 GiB, 4004511744 bytes, 7821312 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start     End Sectors  Size Id Type
/dev/sda1         128 7817343 7817216  3.7G  6 FAT16

Disk /dev/sdb: 3.7 TiB, 4000787030016 bytes, 7814037168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 3B9CE1B8-E771-4C1D-92AF-812B7C744ABA

Device     Start        End    Sectors  Size Type
/dev/sdb1     40 7814037134 7814037095  3.7T Microsoft basic data

root@debian:~# parted -l
Model: SanDisk Cruzer Fit (scsi)
Disk /dev/sda: 4005MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   End     Size    Type     File system  Flags
 1      65.5kB  4002MB  4002MB  primary  ext3


Model: ATA ST4000LM016-1N21 (scsi)
Disk /dev/sdb: 4001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number  Start   End     Size    File system  Name                  Flags
 1      20.5kB  4001GB  4001GB  ntfs         Microsoft basic data  msftdata

root@debian:~#



Edited 1 time(s). Last edit at 04/18/2016 03:00PM by 4apaev.
Re: 4Tb HDD on GoFlex NET
April 19, 2016 02:44AM
I have no suggestion for Windows. It's been too long since I was a power user.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: 4Tb HDD on GoFlex NET
April 19, 2016 12:05PM
many many thanks for your help.

I solved the problem. The solution is: change of usb adapter, now works my disk under Windows and Debian with USB and SATA.

sorry for my knowledge of English and of Linux
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: