Viewed 20k times. I'm doing data recovery right now from a disk I've extracted from an old NAS. Improve this question. Samuele Pilleri. Samuele Pilleri Samuele Pilleri 1 1 gold badge 1 1 silver badge 6 6 bronze badges.
That's not an mdadm message, sounds like a mkfs message instead. Would that explain why it's taking so long? Also, is there anything in dmesg? Your actual drive not showing in iostat is worrying. Add a comment. Active Oldest Votes. Improve this answer. Unfortunately, I cannot switch to ext4 atm. Should give reads and writes, though. Other USB flash sticks become unresponsive, too.
The only way I can recover the system is to yank the USB cable, close the terminal window, and re-stick the drive cable back in. Partition is still good at that point, and I can try to reformat again. Also logged the mkfs command when I try it on the Pi. Connect the drive, having only a partition table.
About 90 inode tables get written, then it slows to maybe a few a minute with periodic drive access flashing light and head movement I can hear. Then when I access it, it also takes minutes for simple file reads, so this is dysfunctional with this drive. I'll go try turning off UAS, now and see if that helps. This didn't fix my "super slow format" problem, but apparently there is some other problem with the dwc-otg-ncd USB - it does not support a feature the UAS driver requires.
Where did this message come from? I have not seen it before when I plugged the drive via a 4-port USB hub. I think the UAS driver which the quirk setting should tweak never makes it into operation because of another problem. How can I "try another USB controller"?? My mind is like a browser. It came in 4 parts. Trejan, thanks for the lead about turning off UAS; even if it wasn't the fix dmesg says it wasn't used anyhow and I don't know what was used , being able to control some change in the dmesg sequence gave me confidence to try more combinations and peel back the onion until it was fixed.
Fruitoftheloom, I apologize about not appreciating your ext4 comment - that turned out to be part of the solution. Here is the MIX of actions I did to fix the situation.
One it's working, I hesitate peeling back each issue until it fails again. But if you see these problems, maybe try these ideas. I can confirm glitchy behavior when using marginal power. Prior to this whole escapade, I moved my pi source up to 3 amps, and I'm using a powered USB hub that sources another 3 amps to peripherals.
There is a way to see if you're getting marginal power spikes because the Pi reports this about itself search "monitor power" to get the exact command syntax. Not a problem for me because of of the recent upgrade, but check yours! Also, the entire new drive was supposed to be the solution for a glitchy prior drive. After a lot of reformats of the old drive and trials with other computers, I think the original problem was a glitchy USB connector - the square kind you find on printers - on the old drive.
For sure when I tapped the connector, the drive unmounted. If you use the version with the GUI, ie "gparted" once you have selected the partition type you have to apply it. So I would expect parted to follow a similar step. Try "mkfs. Let's step back here EXT3 is a very old, and basically never used filesystem. It was long ago replaced by the faster and much more robust EXT4.
EXT4, while acceptable for use today, has been widely replaced by the even faster, and even more reliable XFS. What's prompting you to format with it here? I agree with pigdog, not sure what you meant by you mkfs command; but, if you want to format the partitions with one command on the command line, I believe it is better to format the command as:.
Processor versions don't affect software in that kind of way. Only thing that a P4 would mean is that you are native 32bit instead of 64bit. Sign up or log in Sign up using Google. Sign up using Facebook. Sign up using Email and Password.
Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Explaining the semiconductor shortage, and how it might end. Does ES6 make JavaScript frameworks obsolete? Featured on Meta. Now live: A fully responsive profile.
Linked 2.
0コメント