Re: Can mke2fs -c -c be restarted
by George R Goffe
Thanks for the responses.
Richard: it takes that long because of the "-c -c" option. As Berend says, it runs badblocks which "beats up a block at a time" writing/reading patterns... looking for errors. The man page for mke2fs is helpful.
Berend: THANK YOU FOR YOUR RESPONSE! I of course, didn't think of that. All I can say is WOW! Two weeks. I used to do this as a matter of course on ALL new drives but 2TB and above became prohibitively lengthy. I tried it on a 4TB drive IIRC and something like 85 hours comes to mind. That might have been a 2TB drive though. Life is too short. Sigh.
As for using USB, I have several docking stations in use on a laptop, USB3.0... I have had drives "go away" and "come back" as other drive letters IF i make them too busy. I have written several bug reports on this, mostly on bugzilla.redhat.com. Things are getting better stability wise but didn't get much response from anyone. Even tried kernel.org... NO RESPONSE there. Sigh. I think it's the kernel reacting to prolonged delays in command execution... the system "thinks" the drive is gone due to a timeout of some kind and goes into error recovery... At least this is what it looks like. It is pure conjecture on my part though. Like the guy who complained to the Dr., "My arm hurts when I do that" to which the Dr. says, "Then don't do that". I don't make the drives as busy... doesn't hurt as much. Sigh...
Again, THANKS to all who responded.
George...
On Sat, 2019-10-19 at 10:29 +0000, George R Goffe via users wrote:
> Hi,
>
> I have a 2TB HDD with a possibly major problem. I have cleared the
> data from it and have tried to run "mke2fs -t ext4 -j /dev/sdc1" but
> after 24 hours it had just finished the 0xaa phase and started
> reading when the drive seemingly dropped ready and was re-assigned as
> a new device to /dev/sdf. Argh. I did get an ended message with an
> ending block number. I'd like to restart at that point in time and
> continue the media check. I don't see anything in the mke2fs man page
> though.
>
> Has anyone seen or heard of a way to do this?
mkfs -c just runs badblocks with the appropriate parameters. You can
specify how many blocks to skip, for example badblocks /dev/sdc1 1234.
You'll need to specify the block size correctly to badblocks, and
you'll want badblocks -o /tmp/blocklist to save the bad blocks so mkfs
-l /tmp/blocklist reads it back. To get the block size, format it
without -c and look at the output or use dumpe2fs.
Doing this over a USB2 cable took me two weeks last time I tried, for a
4TB drive. I hope it's faster for you.
(related note: I find normal 2 and 4TB USB drives highly unreliable.)
4 years, 5 months
HP DL-5170DN Printer not working
by Aaron Gray
I installed the standard driver but my printer is coming up with :-
ERROR NAME:
undefined
COMMAND:
-2345X@PJL
OPERAND STACK:
Looking like its a BR-Script3 issiue
--
Aaron Gray
Independent Open Source Software Engineer, Computer Language Researcher,
Information Theorist, and amateur computer scientist.
4 years, 5 months
Re: too-nearly-full filesystem '/'. (was upgrade problem: space on
'/' filesystem.) (home user
by George R Goffe
Hi,
Just my 2 cents.
first: I'm sure you remember that even if you find a huge file and remove it, the space it occupies will not be available IF the file is still open. I had a /var file system full some time ago and it was /var/log/messages that was HUGE. Removing it didn't help until I recycled syslogd.
second: Here's a function in my .bashrc that I use recursively on a filesystem that's getting close to being full. It's VERY helpful to me and I don't have to type a lot. :-)
dus ()
{
echo $sorttmp $sortmem;
case $# in
0)
/usr/bin/du -xs -- .??* * 2> /dev/null | sort -k1nr | more
;;
*)
/usr/bin/du -xs -- $* 2> /dev/null | sort -k1nr | more
;;
esac
}
George...
4 years, 5 months
Can mke2fs -c -c be restarted
by George R Goffe
Hi,
I have a 2TB HDD with a possibly major problem. I have cleared the data from it and have tried to run "mke2fs -t ext4 -j /dev/sdc1" but after 24 hours it had just finished the 0xaa phase and started reading when the drive seemingly dropped ready and was re-assigned as a new device to /dev/sdf. Argh. I did get an ended message with an ending block number. I'd like to restart at that point in time and continue the media check. I don't see anything in the mke2fs man page though.
Has anyone seen or heard of a way to do this?
Best regards,
George...
4 years, 5 months
F30 last two updates won't boot, kernel 5.3 can't mount RAID0
by Christopher Ross
There have been two kernel updates this past week:
kernel-core-5.3.5-200.fc30.x86_64
kernel-core-5.3.6-200.fc30.x86_64
Neither of these will boot for me. I get so far as the Fedora splash
screen in graphics mode but never the login screen.
I've been trying to debug this, and so far the biggest clue I have from
the system log is the following:
Oct 19 07:24:38 snoopy.tebibyte.org systemd[1]: local-fs.target:
Triggering OnFailure= dependencies.
Oct 19 07:24:38 snoopy.tebibyte.org systemd[1]: local-fs.target: Job
local-fs.target/start failed with result 'dependency'.
Oct 19 07:24:38 snoopy.tebibyte.org systemd[1]: Dependency failed for
Local File Systems.
Oct 19 07:24:38 snoopy.tebibyte.org systemd[1]: Dependency failed for /home.
Oct 19 07:24:38 snoopy.tebibyte.org systemd[1]: Dependency failed for
File System Check on /dev/disk/by-uuid/a1aaca46-f02d-4407-90ab-1067eecea53d.
Oct 19 07:24:38 snoopy.tebibyte.org systemd[1]: Timed out waiting for
device /dev/disk/by-uuid/a1aaca46-f02d-4407-90ab-1067eecea53d.
Oct 19 07:24:38 snoopy.tebibyte.org systemd[1]:
dev-disk-by\x2duuid-a1aaca46\x2df02d\x2d4407\x2d90ab\x2d1067eecea53d.device:
Job dev-disk-by\x2duuid-a1aaca46\x2df02d\x2d4407\x2d90ab\x2d1067e
ecea53d.device/start timed out.
Oct 19 07:23:35 snoopy.tebibyte.org systemd[1]: Mounted /boot.
Oct 19 07:23:35 snoopy.tebibyte.org kernel: EXT4-fs (sda1): mounted
filesystem with ordered data mode. Opts: (null)
Oct 19 07:23:35 snoopy.tebibyte.org systemd[1]: Mounting /boot...
Followed by a bunch of errors not unexpected given that one.
Under the last kernel that does boot
(kernel-core-5.2.18-200.fc30.x86_64), the device it is references looks
like this :
lrwxrwxrwx. 1 root root 9 Oct 19 07:30
"/dev/disk/by-uuid/a1aaca46-f02d-4407-90ab-1067eecea53d" -> "../../md0"
Where md0 is a RAID0 of 4 x 1TiB discs.
Q1 then, is how do I tell DNF not to delete the 5.2.18-200 kernel as it
is the only one that currently works?
Q2 is what's up with 5.3 kernels and software raid, and what do I need
to change to get it working again?
Many thanks for any and all help!
Regards,
Chris R.
4 years, 5 months
Wifi systens -
by Bob Goodwin
.
Does anyone have experience with the so called "mesh wifi" systems. My
daughter suggested that I need one after reading a review. All I can
find is a lot of hype devoid of the things I would like to know, mainly
how are the units interconnected? It occurs to me that they might use
Ethernet via the ac power line.
I would appreciate anything anyone might have to share on the subject.
Bob
--
Bob Goodwin - Zuni, Virginia, USA
4 years, 5 months
upgrade problem: space on '/' filesystem.
by home user
I'm trying to upgrade from Fedora-29 to Fedora-30. Everything seems to
have downloaded fine. The transaction check succeeded. But then I get
this:
====================
Running transaction test
The downloaded packages were saved in cache until the next successful
transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
installing package ibus-1.5.20-5.fc30.x86_64 needs 7MB on the /
filesystem
[... snip; there are a huge number of similar lines snipped out here ...]
installing package libcap-2.26-5.fc30.i686 needs 1137MB on the /
filesystem
Error Summary
-------------
Disk Requirements:
At least 1274MB more space needed on the / filesystem.
bash.6[~]:
====================
How do I safely get the needed filespace?
Am I correct in assuming that deleting files from
/home/[whatever]
would not help?
thanks,
Bill.
4 years, 5 months
DHCPD server logging issue
by Aaron Gray
I am having problems working out how to get proper non journal logging
normal text logging for the DHCP server.
Theres the following statement in /etc/dhcp/dhcpd.conf :-
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
I cannot seem to find syslog.conf or rsyslog.conf in /etc
There is a /usr/share/doc/sudo/examples/syslog.conf documentation file but
there are no syslog or syslog services.
--
Aaron Gray
Independent Open Source Software Engineer, Computer Language Researcher,
Information Theorist, and amateur computer scientist.
4 years, 5 months
RE: Top 7 Programming Languages That Employers Really Want
by Patrick Laimbock
-----Original message-----
> From:Turritopsis Dohrnii Teo En Ming <teo.en.ming.smartphone(a)gmail.com>
> Sent: Friday 18th October 2019 4:27
> To: Community support for Fedora users <users(a)lists.fedoraproject.org>
> Cc: Turritopsis Dohrnii Teo En Ming <teo.en.ming.smartphone(a)gmail.com>
> Subject: Top 7 Programming Languages That Employers Really Want
>
> Subject: Top 7 Programming Languages That Employers Really Want
[snip]
Your posting fails to follow the Fedora mailinglist guidelines [1], specifically:
Do not Cross Post - you also sent the same question to the CentOS mailinglist.
Stay on-topic - your question does not relate to Fedora (nor CentOS)
Avoid long signatures and disclaimers - your email signature is about as long as your question.
Search It! - research *before* posting to the list. Your question is easily answered by searching Google.
Please follow the mailinglist guidelines and read http://www.catb.org/~esr/faqs/smart-questions.html before posting.
Thanks,
Patrick
[1] https://fedoraproject.org/wiki/Mailing_list_guidelines
4 years, 5 months