LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-22-2023, 08:34 AM   #1
tet024
LQ Newbie
 
Registered: Sep 2023
Posts: 3

Rep: Reputation: 0
Question 10TB HDDs not able to format under linux


Hi,

I have a strange scenario where I have a HDD which I can't format under linux. I tried both ubuntu and unraid distributions. The SATA HDD is using a usb to sata 5bay enclosure. The HDD is being detected correctly fdisk -l shows the disk correctly but when I try to format it just loops and no progress is done. I just can see the following error.

Unaligned partial completion


With Windows and Mac OSX the disk is formatted and partition created in both MBR and GTP mode.

Any ideas on what may be the issue as this is perplexing me abit.


With Ubuntu I tried DD the drive

dd if=/dev/zero of=/dev/sdi count=1 bs=512

and

dd if=/dev/zero of=/dev/sdi count=1 bs=4096


I also tried

GPARTED and No Progress (seems like it crashes) and also the Disk utility which comes with UBUNTU it remains 0.0%.


All the above options didn't work.


Would appreciate any help. Unfortunately I can't connect the SATA drive directly.

THanks
TeT
 
Old 09-22-2023, 09:28 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,672

Rep: Reputation: Disabled
You do not need to partition it for use in Linux. What happens when you execute the 'mkfs.ext4 /dev/sdi', does it complete?
 
Old 09-22-2023, 10:17 AM   #3
tet024
LQ Newbie
 
Registered: Sep 2023
Posts: 3

Original Poster
Rep: Reputation: 0
Nope that's the thing.

Tried ext4, zfs and xfs

With windows format works seamlessly.

Quote:
Originally Posted by Emerson View Post
You do not need to partition it for use in Linux. What happens when you execute the 'mkfs.ext4 /dev/sdi', does it complete?
 
Old 09-22-2023, 10:35 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,825

Rep: Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961
Check the output of dmesg command to see if there are any errors for /dev/sdi.
You can not even partition the disk from the command line using fdisk or gdisk?
What version of Ubuntu are you running?
What is the make/model number of the enclosure?

Last edited by michaelk; 09-22-2023 at 10:38 AM.
 
Old 09-22-2023, 12:33 PM   #5
tet024
LQ Newbie
 
Registered: Sep 2023
Posts: 3

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by michaelk View Post
Check the output of dmesg command to see if there are any errors for /dev/sdi.
You can not even partition the disk from the command line using fdisk or gdisk?
What version of Ubuntu are you running?
What is the make/model number of the enclosure?
The messages that I see is constant

Unaligned partial completion (resid=25088, sector_sz=4096)



fdisk and gdisk same.

Enclosure - https://www.amazon.com/ORICO-Enclosu...0734G79FW?th=1

HDD - https://www.amazon.com/Ultrastar-HC5.../dp/B077NDRQLW

Someone has the same issue it seems :-(

https://www.reddit.com/r/linuxquesti...isk_enclosure/

TeT

Last edited by tet024; 09-22-2023 at 12:40 PM.
 
Old 09-22-2023, 12:59 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,825

Rep: Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961Reputation: 5961
Not much help but:

https://lore.kernel.org/linux-scsi/y...@oracle.com/t/
https://forums.unraid.net/bug-report...s-in-log-r680/
 
Old 09-22-2023, 05:52 PM   #7
Arnulf
Member
 
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 276

Rep: Reputation: 89
  • Which kernel is in use?
  • Post device related output of dmesg.
  • Try latest stable kernel.
  • Boot into console and try gdisk.
 
Old 09-22-2023, 07:28 PM   #8
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,811

Rep: Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003Reputation: 8003
Quote:
Originally Posted by tet024 View Post
The messages that I see is constant

Unaligned partial completion (resid=25088, sector_sz=4096)

fdisk and gdisk same. Enclosure - https://www.amazon.com/ORICO-Enclosu...0734G79FW?th=1
HDD - https://www.amazon.com/Ultrastar-HC5.../dp/B077NDRQLW

Someone has the same issue it seems :-(

https://www.reddit.com/r/linuxquesti...isk_enclosure/
Yes...apparently it's the enclosure and the USB to SATA hardware in it. Possible solution is to use a utility called "Hugo":
https://github.com/gohugoio/hugo/releases/tag/v0.118.2

...and change the block size:
https://forums.servethehome.com/inde...-issues.38070/

You could always sidestep the whole issue, and put the drive directly in your machine, and format/mkfs directly, then shove it back into the enclosure.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with 10TB HDD (I/O error, ext4-fs-error, access beyond end of device etc) mnx Linux - General 11 11-14-2020 07:56 AM
Problems with 10TB HDD (I/O error, ext4-fs-error, access beyond end of device etc) mnx Linux - General 1 11-06-2020 01:24 PM
LXer: HGST gets closer to shipping 10TB HDD LXer Syndicated Linux News 0 03-13-2015 06:20 AM
Creat a 10TB or 20TB file system procfs Linux - Newbie 10 03-26-2014 03:38 PM
Accessing other HDDs/Booting from other HDDs Namatacka Ubuntu 2 05-07-2006 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration