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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-22-2023, 09:34 AM
|
#1
|
LQ Newbie
Registered: Sep 2023
Posts: 3
Rep:
|
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
|
|
|
09-22-2023, 10:28 AM
|
#2
|
LQ Sage
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,675
Rep: 
|
You do not need to partition it for use in Linux. What happens when you execute the 'mkfs.ext4 /dev/sdi', does it complete?
|
|
|
09-22-2023, 11:17 AM
|
#3
|
LQ Newbie
Registered: Sep 2023
Posts: 3
Original Poster
Rep:
|
Nope that's the thing.
Tried ext4, zfs and xfs
With windows format works seamlessly.
Quote:
Originally Posted by Emerson
You do not need to partition it for use in Linux. What happens when you execute the 'mkfs.ext4 /dev/sdi', does it complete?
|
|
|
|
09-22-2023, 11:35 AM
|
#4
|
Moderator
Registered: Aug 2002
Posts: 26,552
|
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 11:38 AM.
|
|
|
09-22-2023, 01:59 PM
|
#6
|
Moderator
Registered: Aug 2002
Posts: 26,552
|
|
|
|
09-22-2023, 06:52 PM
|
#7
|
Member
Registered: Jan 2022
Location: Hanover, Germany
Distribution: Slackware
Posts: 307
Rep: 
|
- Which kernel is in use?
- Post device related output of dmesg.
- Try latest stable kernel.
- Boot into console and try gdisk.
|
|
|
09-22-2023, 08:28 PM
|
#8
|
LQ Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 27,494
|
Quote:
Originally Posted by tet024
|
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.
|
|
|
All times are GMT -5. The time now is 10:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|