Drive recognized but nonfunctional.


ssb201

Recommended Posts

9 hours ago, limetech said:

 

Working on getting samples.  Won't be until 6.4 series.

 

@limetech you probably know this already, but you can emulate a 4k native disk with qemu, AFAIK behavior is the same as the real disks:

 

Mar 20 17:26:29 Tower kernel: sd 1:0:0:0: [sda] 805306368 4096-byte logical blocks: (3.30 TB/3.00 TiB)
 sfdisk /dev/sda

Welcome to sfdisk (util-linux 2.28.2).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Checking that no-one is using this disk right now ... OK

Disk /dev/sda: 3 TiB, 3298534883328 bytes, 805306368 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

After trying to add it to the array:

 

Mar 20 17:27:07 Tower emhttp: writing GPT on disk (sda), with partition 1 offset 64, erased: 0
Mar 20 17:27:07 Tower emhttp: shcmd (118): sgdisk -Z /dev/sda &> /dev/null
Mar 20 17:27:08 Tower emhttp: shcmd (119): sgdisk -o -a 64 -n 1:64:0 /dev/sda |& logger
Mar 20 17:27:09 Tower kernel: sda: sda1
Mar 20 17:27:09 Tower root: Creating new GPT entries.
Mar 20 17:27:09 Tower root: The operation has completed successfully.
Mar 20 17:27:09 Tower emhttp: shcmd (120): udevadm settle
Mar 20 17:27:09 Tower emhttp: invalid partition(s)

Don't know it will work for what you need though...

 

ETA: disk can be an image or passing-trough a 512e disk using /dev/by-id/ but making it look like a 4kn disk.

Edited by johnnie.black
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.