Copy Data from Old HDD to New HDD

Copy Data from Old HDD to New HDD

Postby azaranto » Wed Mar 07, 2018 1:23 am

Hi All,
Sorry for the bother but this time my old 2TB is showing a lot of errors and I´m replacing it before it dies.
I was able to install the FVDW v17 firmware but I´m having problems accessing the information from the old hdd via a HDD Docking Station.
My MAC is not detecting the partitions and it´s asking me to initialize the HDD. Win10 can´t see nothing and Ubuntu is not letting me either.
Can someone bring some light into the darkness? :please
Thank you all in advance!
azaranto
 
Posts: 42
Joined: Tue Mar 24, 2015 2:48 am

Re: Copy Data from Old HDD to New HDD

Postby Jocko » Wed Mar 07, 2018 8:33 am

Hi azaranto,

if I understand well, currently you have a running NAS with a new disk and our firmware but your old disk is not see when you plug it on the usb port (?)

If yes, please to post these outputs after plugging your old disk
Code: Select all
cat /proc/partitions
dmesg
fdisk -l
mount
file -bs /dev/sdb8
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Copy Data from Old HDD to New HDD

Postby azaranto » Thu Mar 08, 2018 12:10 pm

Jocko wrote:Hi azaranto,

if I understand well, currently you have a running NAS with a new disk and our firmware but your old disk is not see when you plug it on the usb port (?)

If yes, please to post these outputs after plugging your old disk
Code: Select all
cat /proc/partitions
dmesg
fdisk -l
mount
file -bs /dev/sdb8


Here you are!
Code: Select all
root@fvdwsl-base:/ # cat /proc/partitions
major minor  #blocks  name

   1        0       4096 ram0
   1        1       4096 ram1
   1        2       4096 ram2
   1        3       4096 ram3
   1        4       4096 ram4
   1        5       4096 ram5
   1        6       4096 ram6
   1        7       4096 ram7
   1        8       4096 ram8
   1        9       4096 ram9
   1       10       4096 ram10
   1       11       4096 ram11
   1       12       4096 ram12
   1       13       4096 ram13
   1       14       4096 ram14
   1       15       4096 ram15
  31        0        500 mtdblock0
  31        1          4 mtdblock1
   8        0 2930266584 sda
   8        1     524288 sda1
   8        2     524288 sda2
   8        3     524288 sda3
   8        4       8192 sda4
   8        5     786432 sda5
   8        6       8192 sda6
   8        7     524288 sda7
   8        8 2927364551 sda8
   8       32 1953514584 sdc
root@fvdwsl-base:/ # dmesg
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.6.6 (root@fvdwsl-5big2.local) (gcc version 4.9.3 (GCC) ) #7 PREEMPT Sun May 7 11:50:52 CEST 2017
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005317f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine: LaCie d2 Network v2
[    0.000000] Ignoring unrecognised tag 0x41000403
[    0.000000] Memory policy: Data cache writeback
[    0.000000] On node 0 totalpages: 65536
[    0.000000] free_area_init_node: node 0, pgdat c0962e18, node_mem_map cfdfa000
[    0.000000]   Normal zone: 512 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 65536 pages, LIFO batch:15
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sda7 ro reset=0 productType=PRO_KW cap=gpt,lba64
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 249840K/262144K available (7113K kernel code, 328K rwdata, 1940K rodata, 200K init, 395K bss, 12304K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc08df8e8   (9055 kB)
[    0.000000]       .init : 0xc08e0000 - 0xc0912000   ( 200 kB)
[    0.000000]       .data : 0xc0912000 - 0xc0964320   ( 329 kB)
[    0.000000]        .bss : 0xc0964320 - 0xc09c7004   ( 396 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]    Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:114
[    0.000000] Switching to timer-based delay loop, resolution 6ns
[    0.000008] sched_clock: 32 bits at 166MHz, resolution 6ns, wraps every 12884901885ns
[   11.554279] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 11467562657 ns
[   11.554572] Console: colour dummy device 80x30
[   11.554602] Calibrating delay loop (skipped), value calculated using timer frequency.. 333.33 BogoMIPS (lpj=1666666)
[   11.554623] pid_max: default: 32768 minimum: 301
[   11.554764] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   11.554783] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[   11.555400] CPU: Testing write buffer coherency: ok
[   11.555793] Setting up static identity map for 0x81e0 - 0x8238
[   11.559128] VFP support v0.3: not present
[   11.559625] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[   11.559773] xor: measuring software checksum speed
[   11.654556]    arm4regs  :  1088.400 MB/sec
[   11.754358]    8regs     :   653.600 MB/sec
[   11.854356]    32regs    :   904.800 MB/sec
[   11.854375] xor: using function: arm4regs (1088.400 MB/sec)
[   11.854417] pinctrl core: initialized pinctrl subsystem
[   11.855335] NET: Registered protocol family 16
[   11.855898] DMA: preallocated 256 KiB pool for atomic coherent allocations
[   11.858820] Kirkwood: MV88F6281-A1, TCLK=166666667.
[   11.858850] Feroceon L2: Enabling L2
[   11.858889] Feroceon L2: Cache support initialised.
[   11.860729] kirkwood_init: create proc tsinfo proc
[   11.860754] tsinfo: create proc tsinfo vendor successfully
[   11.860762] mv_usb_init 1
[   11.860774] mv_usb_init 2 devnum = 0
[   11.860785] init function mv_usb_init finished
[   11.860793] initial MPP regs: 01112222 00003311 00551100 00000000 00000000 00000000 00000000
[   11.860824]   final MPP regs: 01112222 00003311 00551100 00000000 00000000 00000000 00000000
[   11.860995]  orion-ehci registered
[   11.862325] orion_gpio_is_valid: invalid GPIO 7
[   12.084926] raid6: int32x1  gen()   101 MB/s
[   12.254617] raid6: int32x1  xor()    63 MB/s
[   12.424684] raid6: int32x2  gen()   133 MB/s
[   12.594420] raid6: int32x2  xor()    84 MB/s
[   12.764778] raid6: int32x4  gen()   133 MB/s
[   12.934545] raid6: int32x4  xor()    90 MB/s
[   13.104447] raid6: int32x8  gen()   121 MB/s
[   13.274434] raid6: int32x8  xor()    80 MB/s
[   13.274444] raid6: using algorithm int32x2 gen() 133 MB/s
[   13.274452] raid6: .... xor() 84 MB/s, rmw enabled
[   13.274460] raid6: using intx1 recovery algorithm
[   13.274779] vgaarb: loaded
[   13.275261] SCSI subsystem initialized
[   13.275547] libata version 3.00 loaded.
[   13.276124] usbcore: registered new interface driver usbfs
[   13.276252] usbcore: registered new interface driver hub
[   13.276368] usbcore: registered new device driver usb
[   13.276673] Linux video capture interface: v2.00
[   13.280529] clocksource: Switched to clocksource orion_clocksource
[   13.280702] VFS: Disk quotas dquot_6.6.0
[   13.280761] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[   13.297118] NET: Registered protocol family 2
[   13.297831] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[   13.297871] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[   13.297905] TCP: Hash tables configured (established 2048 bind 2048)
[   13.297978] UDP hash table entries: 256 (order: 0, 4096 bytes)
[   13.298005] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[   13.298194] NET: Registered protocol family 1
[   13.299108] RPC: Registered named UNIX socket transport module.
[   13.299121] RPC: Registered udp transport module.
[   13.299129] RPC: Registered tcp transport module.
[   13.299136] RPC: Registered tcp NFSv4.1 backchannel transport module.
[   13.299160] PCI: CLS 0 bytes, default 32
[   13.299429] NetWinder Floating Point Emulator V0.97 (double precision)
[   13.300757] futex hash table entries: 256 (order: -1, 3072 bytes)
[   13.301326] workingset: timestamp_bits=29 max_order=16 bucket_order=0
[   13.302209] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[   13.302589] ntfs: driver 2.1.32 [Flags: R/W].
[   13.302646] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[   13.302829] fuse init (API version 7.24)
[   13.303343] JFS: nTxBlock = 1951, nTxLock = 15615
[   13.304303] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[   13.309120] async_tx: api initialized (async)
[   13.309222] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[   13.309241] io scheduler noop registered
[   13.309255] io scheduler deadline registered
[   13.309285] io scheduler cfq registered (default)
[   13.309505] mv_xor mv_xor.0: Marvell shared XOR driver
[   13.345036] mv_xor mv_xor.0: Marvell XOR (Registers Mode): ( xor cpy )
[   13.346902] mv_xor mv_xor.1: Marvell shared XOR driver
[   13.384996] mv_xor mv_xor.1: Marvell XOR (Registers Mode): ( xor cpy )
[   13.393357] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[   13.394933] console [ttyS0] disabled
[   13.415169] serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33, base_baud = 10416666) is a 16550A
[   14.006716] console [ttyS0] enabled
[   14.025901] brd: module loaded
[   14.036763] loop: module loaded
[   14.040306] sata_mv sata_mv.0: version 1.28
[   14.040380] sata_mv sata_mv.0: cannot get optional clkdev
[   14.046762] sata_mv sata_mv.0: slots 32 ports 2
[   14.055025] scsi host0: sata_mv
[   14.058842] scsi host1: sata_mv
[   14.062382] ata1: SATA max UDMA/133 irq 21
[   14.066682] ata2: SATA max UDMA/133 irq 21
[   14.072449] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[   14.078266] Creating 2 MTD partitions on "spi_flash":
[   14.083300] 0x000000000000-0x00000007d000 : "u-boot"
[   14.089629] 0x00000007e000-0x00000007f000 : "u-boot-env"
[   14.097692] tun: Universal TUN/TAP device driver, 1.6
[   14.102725] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
[   14.109941] ipddp.c:v0.01 8/28/97 Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   14.118335] ipddp0: Appletalk-IP Encap. mode by Bradford W. Johnson <johns393@maroon.tc.umn.edu>
[   14.134513] libphy: orion_mdio_bus: probed
[   14.138750] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
[   14.554342] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[   14.574376] ata1.00: ATA-10: WDC WD30EFRX-68N32N0, 82.00A82, max UDMA/133
[   14.581135] ata1.00: 5860533168 sectors, multi 16: LBA48 NCQ (depth 31/32)
[   14.614565] ata1.00: configured for UDMA/133
[   14.644601] scsi 0:0:0:0: Direct-Access     ATA      WDC WD30EFRX-68N 0A82 PQ: 0 ANSI: 5
[   14.704769] fvdw1 disk index before get_sd_name = 0
[   14.709624] No LaCie disk map available
[   14.713442] fvdw2 disk index after get_sd_name = 0
[   14.734343] fvdw3 prefix[0]=s  prefix[1]=d
[   14.738422] fvdw4 diskname = sda
[   14.744541] sd 0:0:0:0: [sda] 5860533168 512-byte logical blocks: (3.00 TB/2.73 TiB)
[   14.752251] sd 0:0:0:0: [sda] 4096-byte physical blocks
[   14.774612] sd 0:0:0:0: [sda] Write Protect is off
[   14.779391] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[   14.779501] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[   14.845151]  sda: sda1 sda2 sda3 sda4 sda5 sda6 sda7 sda8
[   14.865642] sd 0:0:0:0: [sda] Attached SCSI disk
[   15.094342] ata2: SATA link down (SStatus 0 SControl F300)
[   15.324509] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:d0:4b:93:51:44
[   15.333442] PPP generic driver version 2.4.2
[   15.338000] PPP Deflate Compression module registered
[   15.343051] PPP MPPE Compression module registered
[   15.347967] NET: Registered protocol family 24
[   15.352567] usbcore: registered new interface driver rt2500usb
[   15.358649] usbcore: registered new interface driver rt73usb
[   15.364553] usbcore: registered new interface driver rt2800usb
[   15.370581] usbcore: registered new interface driver rtl8187
[   15.376421] usbcore: registered new interface driver rtl8192cu
[   15.382243] pegasus: v0.9.3 (2013/04/25), Pegasus/Pegasus II USB Ethernet driver
[   15.389799] usbcore: registered new interface driver pegasus
[   15.395691] usbcore: registered new interface driver asix
[   15.401273] usbcore: registered new interface driver ax88179_178a
[   15.407505] usbcore: registered new interface driver cdc_ether
[   15.413525] usbcore: registered new interface driver net1080
[   15.419319] usbcore: registered new interface driver plusb
[   15.425035] usbcore: registered new interface driver cdc_subset
[   15.431134] usbcore: registered new interface driver zaurus
[   15.436872] usbcore: registered new interface driver ipheth
[   15.442647] usbcore: registered new interface driver cdc_ncm
[   15.449180] aoe: cannot create debugfs directory
[   15.454179] aoe: AoE v85 initialised.
[   15.458499] rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
[   15.464728] i2c /dev entries driver
[   15.469446] at24 0-0050: 512 byte 24c04 EEPROM, writable, 16 bytes/write
[   15.476513] uvcvideo: Unable to create debugfs directory
[   15.482038] usbcore: registered new interface driver uvcvideo
[   15.487803] USB Video Class driver (1.1.1)
[   15.491893] gspca_main: v2.14.0 registered
[   15.496224] usbcore: registered new interface driver Philips webcam
[   15.502986] md: linear personality registered for level -1
[   15.508629] md: raid0 personality registered for level 0
[   15.513923] md: raid1 personality registered for level 1
[   15.519292] md: raid10 personality registered for level 10
[   15.525063] md: raid6 personality registered for level 6
[   15.530348] md: raid5 personality registered for level 5
[   15.535733] md: raid4 personality registered for level 4
[   15.541260] device-mapper: ioctl: 4.34.0-ioctl (2015-10-28) initialised: dm-devel@redhat.com
[   15.549988] device-mapper: multipath: version 1.11.0 loaded
[   15.555586] device-mapper: multipath round-robin: version 1.1.0 loaded
[   15.562087] device-mapper: multipath queue-length: version 0.2.0 loaded
[   15.568713] device-mapper: multipath service-time: version 0.3.0 loaded
[   15.575387] device-mapper: dm-log-userspace: version 1.3.0 loaded
[   15.581459] device-mapper: raid: Loading target version 1.7.0
[   15.587375] orion_gpio_is_valid: invalid GPIO 12
[   15.588693] Netfilter messages via NETLINK v0.30.
[   15.593398] nfnl_acct: registering with nfnetlink.
[   15.598733] nf_conntrack version 0.5.0 (3903 buckets, 15612 max)
[   15.605412] ipip: IPv4 over IPv4 tunneling driver
[   15.611132] ip_tables: (C) 2000-2006 Netfilter Core Team
[   15.616820] NET: Registered protocol family 10
[   15.622339] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   15.628109] sit: IPv6 over IPv4 tunneling driver
[   15.633589] NET: Registered protocol family 17
[   15.638284] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[   15.650908] Bridge firewalling registered
[   15.655089] NET: Registered protocol family 5
[   15.660748] console [netcon0] enabled
[   15.664630] netconsole: network logging started
[   15.669639] input: gpio-keys as /devices/platform/gpio-keys/input/input0
[   15.676824] rtc-mv rtc-mv: setting system clock to 2018-03-08 11:59:35 UTC (1520510375)
[   15.685298] md: Skipping autodetection of RAID arrays. (raid=autodetect will force)
[   15.733940] EXT4-fs (sda7): mounting ext3 file system using the ext4 subsystem
[   15.741536] EXT4-fs (sda7): INFO: recovery required on readonly filesystem
[   15.748455] EXT4-fs (sda7): write access will be enabled during recovery
[   16.174866] EXT4-fs (sda7): recovery complete
[   16.234398] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)
[   16.242053] VFS: Mounted root (ext3 filesystem) readonly on device 8:7.
[   16.249296] Freeing unused kernel memory: 200K (c08e0000 - c0912000)
[   16.255635] This architecture does not have kernel memory protection.
[   16.558974] EXT4-fs (sda7): warning: checktime reached, running e2fsck is recommended
[   16.594420] EXT4-fs (sda7): re-mounted. Opts: (null)
[   17.122427] EXT4-fs (sda5): mounting ext3 file system using the ext4 subsystem
[   17.444627] EXT4-fs (sda5): recovery complete
[   17.474400] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[   17.554156] random: mkswap urandom read with 102 bits of entropy available
[   17.611324] Adding 524284k swap on /dev/sda3.  Priority:-1 extents:1 across:524284k
[   17.991390] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[   17.998764] ehci-orion: EHCI orion driver
[   18.002856] orion-ehci orion-ehci.0: EHCI Host Controller
[   18.008340] orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
[   18.016061] orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
[   18.034339] orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
[   18.040389] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[   18.047167] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   18.054363] usb usb1: Product: EHCI Host Controller
[   18.059217] usb usb1: Manufacturer: Linux 4.6.6 ehci_hcd
[   18.064517] usb usb1: SerialNumber: orion-ehci.0
[   18.069718] hub 1-0:1.0: USB hub found
[   18.073490] hub 1-0:1.0: 1 port detected
[   18.092200] usbcore: registered new interface driver usb-storage
[   18.110259] usbcore: registered new interface driver usblp
[   18.142971] Loading iSCSI transport class v2.0-870.
[   18.153216] iscsi: registered transport (tcp)
[   19.211706] random: nonblocking pool is initialized
[   29.709980] udevd (919): /proc/919/oom_adj is deprecated, please use /proc/919/oom_score_adj instead.
[   29.719309] udev: starting version 130
[   39.358260] EXT4-fs (sda8): recovery complete
[   39.394418] EXT4-fs (sda8): mounted filesystem with ordered data mode. Opts: user_xattr,acl,nodelalloc
[   41.745965] mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
[   41.752039] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   44.052270] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
[   44.062112] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   67.864381] usb usb1-port1: connect-debounce failed
[  107.094353] usb 1-1: new high-speed USB device number 2 using orion-ehci
[  107.245070] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101
[  107.251747] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[  107.258866] usb 1-1: Product: USB 2.0 Hub
[  107.266131] hub 1-1:1.0: USB hub found
[  107.273748] hub 1-1:1.0: 4 ports detected
[  107.564352] usb 1-1.1: new high-speed USB device number 3 using orion-ehci
[  107.852571] usb 1-1.1: New USB device found, idVendor=048d, idProduct=1336
[  107.859442] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  107.866744] usb 1-1.1: Product: Mass Storage Device
[  107.871603] usb 1-1.1: Manufacturer: Generic   
[  107.876126] usb 1-1.1: SerialNumber: 00000000000006
[  107.884112] usb-storage 1-1.1:1.0: USB Mass Storage device detected
[  107.906240] scsi host2: usb-storage 1-1.1:1.0
[  107.994355] usb 1-1.4: new high-speed USB device number 4 using orion-ehci
[  108.105445] usb 1-1.4: New USB device found, idVendor=152d, idProduct=2338
[  108.112291] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[  108.119583] usb 1-1.4: Product: USB to ATA/ATAPI bridge
[  108.124791] usb 1-1.4: Manufacturer: JMicron
[  108.129041] usb 1-1.4: SerialNumber: 000001D91CC4
[  108.137250] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[  108.154606] scsi host3: usb-storage 1-1.4:1.0
[  112.915287] scsi 2:0:0:0: Direct-Access     Generic  Storage Device   0.00 PQ: 0 ANSI: 2
[  112.925856] fvdw1 disk index before get_sd_name = 1
[  112.930719] No LaCie disk map available
[  112.951837] fvdw2 disk index after get_sd_name = 1
[  112.956694] fvdw3 prefix[0]=s  prefix[1]=d
[  112.960777] fvdw4 diskname = sdb
[  112.971527] sd 2:0:0:0: [sdb] Attached SCSI removable disk
[  113.175276] scsi 3:0:0:0: Direct-Access     WDC WD20 EFRX-68EUZN0          PQ: 0 ANSI: 2 CCS
[  113.186066] fvdw1 disk index before get_sd_name = 2
[  113.190930] No LaCie disk map available
[  113.212076] fvdw2 disk index after get_sd_name = 2
[  113.216923] fvdw3 prefix[0]=s  prefix[1]=d
[  113.221005] fvdw4 diskname = sdc
[  113.228514] sd 3:0:0:0: [sdc] 488378646 4096-byte logical blocks: (2.00 TB/1.82 TiB)
[  113.243861] sd 3:0:0:0: [sdc] Write Protect is off
[  113.248746] sd 3:0:0:0: [sdc] Mode Sense: 28 00 00 00
[  113.249470] sd 3:0:0:0: [sdc] No Caching mode page found
[  113.254859] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[  113.275744] sd 3:0:0:0: [sdc] Attached SCSI disk
root@fvdwsl-base:/ #

root@fvdwsl-base:/ # fdisk -l
fdisk: device has more than 2^32 sectors, can't use all of them

Disk /dev/sda: 2199.0 GB, 2199023255040 bytes
256 heads, 63 sectors/track, 266305 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sda1               1      266306  2147483647+ ee EFI GPT
Note: sector size is 4096 (not 512)

Disk /dev/sdc: 2000.3 GB, 2000398934016 bytes
256 heads, 63 sectors/track, 30281 cylinders
Units = cylinders of 16128 * 4096 = 66060288 bytes

   Device Boot      Start         End      Blocks  Id System
/dev/sdc1               1      242252  2743214780  ee EFI GPT
root@fvdwsl-base:/ # mount
/dev/root on / type ext3 (rw,relatime,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda8 on /share/1000 type ext4 (rw,noatime,nodelalloc,data=ordered)
root@fvdwsl-base:/ #

root@fvdwsl-base:/ # file -bs /dev/sdb8
writable, no read permission
root@fvdwsl-base:/ #
azaranto
 
Posts: 42
Joined: Tue Mar 24, 2015 2:48 am

Re: Copy Data from Old HDD to New HDD

Postby Jocko » Thu Mar 08, 2018 2:21 pm

Hi

I am sorry but your outputs are not nice. It seems there is no longer a gpt partition table available on your external disk
Code: Select all
   8        8 2927364551 sda8
   8       32 1953514584 sdc
and
[  113.221005] fvdw4 diskname = sdc
[  113.228514] sd 3:0:0:0: [sdc] 488378646 4096-byte logical blocks: (2.00 TB/1.82 TiB)
[  113.243861] sd 3:0:0:0: [sdc] Write Protect is off
[  113.248746] sd 3:0:0:0: [sdc] Mode Sense: 28 00 00 00
[  113.249470] sd 3:0:0:0: [sdc] No Caching mode page found
[  113.254859] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[  113.275744] sd 3:0:0:0: [sdc] Attached SCSI disk
(You should have a line like sdc: sdc1 sdc2 ...)

So post
Code: Select all
gdisk /dev/sdc
and also if you can, its partition table (type 'p')
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Copy Data from Old HDD to New HDD

Postby azaranto » Thu Mar 08, 2018 10:09 pm

Jocko wrote:Hi

I am sorry but your outputs are not nice. It seems there is no longer a gpt partition table available on your external disk
Code: Select all
   8        8 2927364551 sda8
   8       32 1953514584 sdc
and
[  113.221005] fvdw4 diskname = sdc
[  113.228514] sd 3:0:0:0: [sdc] 488378646 4096-byte logical blocks: (2.00 TB/1.82 TiB)
[  113.243861] sd 3:0:0:0: [sdc] Write Protect is off
[  113.248746] sd 3:0:0:0: [sdc] Mode Sense: 28 00 00 00
[  113.249470] sd 3:0:0:0: [sdc] No Caching mode page found
[  113.254859] sd 3:0:0:0: [sdc] Assuming drive cache: write through
[  113.275744] sd 3:0:0:0: [sdc] Attached SCSI disk
(You should have a line like sdc: sdc1 sdc2 ...)

So post
Code: Select all
gdisk /dev/sdc
and also if you can, its partition table (type 'p')


I will post it as soon as I can.
The weird part is that the old disk works when connected to the LACIE NAS as primary disc. I can access old the files. I´m currently using another USB Disc as proxy between the two discs and it´s taking ages :sob
That´s why I was trying to connect the old one as external USB drive.
Thank you!!!
azaranto
 
Posts: 42
Joined: Tue Mar 24, 2015 2:48 am

Re: Copy Data from Old HDD to New HDD

Postby fvdw » Fri Mar 09, 2018 11:52 am

@jocko

please remember that disk names are not as it should on d2n2 when using 4.6.6. kernel #7
It needs an adapted diskmap in the kernel to give external disk as suffix "se".
The new kernel was poste here :
viewtopic.php?f=36&t=2818&p=26621#p26605

But this should be the cause of the problem here

What I see in dmesg output is that diks sdc in dmegs output doesn't show a logical sector size of 512 bytes but 4096 bytes. That is not correct. Then it cannot be read by the OS.
It is probably an advanced format disk that uses physical sector size of 4096 bytes but it should be formatted with 512 logical sector size, normally the disk firmware should handle this. We have seen disk before with this problem
In those cases the sata->usb interface used could be the cause this problem. Some do not handle these advanced format disks correctly and show logical sector size of 4096. Connecting them directly to an sata port could be a check to find out if he usb-sata interface you use cause this problem
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Copy Data from Old HDD to New HDD

Postby Jocko » Fri Mar 09, 2018 12:41 pm

fvdw wrote:please remember that disk names are not as it should on d2n2 when using 4.6.6. kernel #7
It needs an adapted diskmap in the kernel to give external disk as suffix "se".
The new kernel was poste here :
viewtopic.php?f=36&t=2818&p=26621#p26605
Yes and no
Even without the diskmap, /proc/partitions should contain the partitions found on the disk at least with the bad prefix and indeed there are some issues later but only when the firmware will try to mount the partition (but badly we are not yet at this step)
fvdw wrote:What I see in dmesg output is that diks sdc in dmegs output doesn't show a logical sector size of 512 bytes but 4096 bytes. That is not correct. Then it cannot be read by the OS.
It is probably an advanced format disk that uses physical sector size of 4096 bytes but it should be formatted with 512 logical sector size, normally the disk firmware should handle this. We have seen disk before with this problem
In those cases the sata->usb interface used could be the cause this problem. Some do not handle these advanced format disks correctly and show logical sector size of 4096. Connecting them directly to an sata port could be a check to find out if he usb-sata interface you use cause this problem
:thumbup
Indeed, this may explain the behaviour;

So azaranto should try to connect it with another USB interface.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France


Return to Lacie D2 network vs2

Who is online

Users browsing this forum: No registered users and 1 guest

cron