LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-24-2020, 08:49 PM   #1
ineuw
LQ Newbie
 
Registered: Nov 2003
Location: Canada
Distribution: Linux Miny 19.3
Posts: 29

Rep: Reputation: 2
Can Linux have difficulty with a 2TB drive?


The title should include a problem with Grub

The problem is that it takes 75 seconds to boot on a fast (3.9GHz) desktop with 16Gb RAM.

When booting, fsck checks the disk and blocks the keyboard from interrupting with Ctrl-C. When it finishes the login screen appears normally.

This desktop Linux Mint 19.3 is installed on a new 2TB 7200 rpm Seagate which I know is slow compared to an SSD, but not this slow.

This attached report lists the following problem:

"File descriptor 63 (pipe:[59749]) leaked on lvs invocation. Parent PID 2099: /bin/bash"

But I have no clue what it means.

Using boot-repair's report feature, I attached the report as a better source of info.

* In Windows, CrystalInfo reports that all three disks are functioning within their parameters and the temps are between 29C - 38C. normal.

* Windows disk health check reports that all is well.

* fsck booted from live USB reports that all drive systems are well.

* gparted also reports that all drives are well.
Attached Files
File Type: txt Boot-Info_20200624_2041.txt (37.9 KB, 64 views)

Last edited by ineuw; 06-24-2020 at 10:48 PM. Reason: added info
 
Old 06-24-2020, 09:12 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,402
Blog Entries: 28

Rep: Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166Reputation: 6166
Frankly, a minute and 15 seconds with a standard HDD sounds like a fairly reasonable boot time to me.
 
Old 06-24-2020, 09:22 PM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,764

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
Originally Posted by frankbell View Post
Frankly, a minute and 15 seconds with a standard HDD sounds like a fairly reasonable boot time to me.
Agreed. I’d be happy if my desktop booted that quickly. Mine takes about two minutes, but the processor is slower, and it only has 8GB of RAM.
 
Old 06-24-2020, 09:37 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,023

Rep: Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632Reputation: 3632
" fsck checks the disk and blocks the keyboard from interrupting with Ctrl-C"

Not sure this should be checking each boot. I'd suspect that some issue or setting can be changed.

Smart tools may be a place to look for drive health.

Wonder why bash is running a start up?
 
Old 06-24-2020, 09:43 PM   #5
ineuw
LQ Newbie
 
Registered: Nov 2003
Location: Canada
Distribution: Linux Miny 19.3
Posts: 29

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by frankbell View Post
Frankly, a minute and 15 seconds with a standard HDD sounds like a fairly reasonable boot time to me.
Thanks, and I know that a SDD would solve the speed problem, but, my concern is the leakage. Another reason being that when using the live USB, it loads fast 15 - 20 seconds, and all the drives are connected and accessible. When used the live USB boot-repair, here was no "leakage" reported. In addition, I've been trying to resolve this issue for the past week, and installed LM19.3 several times. After installation, the first boot is fast, and after that it slows down

Last edited by ineuw; 06-26-2020 at 03:34 AM.
 
Old 06-24-2020, 09:54 PM   #6
ineuw
LQ Newbie
 
Registered: Nov 2003
Location: Canada
Distribution: Linux Miny 19.3
Posts: 29

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by jefro View Post
" fsck checks the disk and blocks the keyboard from interrupting with Ctrl-C"

Not sure this should be checking each boot. I'd suspect that some issue or setting can be changed.

Smart tools may be a place to look for drive health.

Wonder why bash is running a start up?
The drive health was checked by several different apps in both Windows and Linux.

Normally, LM offers fsck of the system drive after every 20 boots. Based on experience, I am sure that checking every boot is not normal. I know that something is wrong, and that is he focus of this post. I want to find out what "File descriptor 63 (pipe:[59749]) leaked on lvs invocation. Parent PID 2099: /bin/bash" means. and does this tie into the drive size. There are three drives involved.
 
Old 06-25-2020, 01:19 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,116

Rep: Reputation: 7368Reputation: 7368Reputation: 7368Reputation: 7368Reputation: 7368Reputation: 7368Reputation: 7368Reputation: 7368Reputation: 7368Reputation: 7368Reputation: 7368
this is lvs: https://man7.org/linux/man-pages/man8/lvs.8.html
It is not a problem with the drive itself, not a problem with the size or capacity, but [probably] the created logical volumes and/or filesystems. Also it can be a simple issue with the implementation of that piece of software (which reports this problem). But it is a general error message and I have no any idea where is it coming from. Probably you can find some additional details in /var/log or dmesg. Probably the installation of Mint went wrong.
 
Old 06-25-2020, 08:58 AM   #8
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by ineuw View Post
The title should include a problem with Grub

The problem is that it takes 75 seconds to boot on a fast (3.9GHz) desktop with 16Gb RAM.
That's not a horrible boot time but a bit slower than I would expect. My desktop runs at 3.2GHz with 8GB of RAM and a garden-variety SATA HDD. Boot times for Leap (according to /var/log/boot.msgs) run about 26s plus the time it takes to mount the additional drives, start Xorg, etc. Total time: never more than ~40s. On an old Slackware system I have running (1GHz, 256MB RAM, SCSI HDD) the system is up and ready for use in ~30s (no X). I can't recall seeing boot times >1m since the '486 or early Pentium days.

Is the fsck that you mentioned the standard check that takes place on the root filesystem during boot? That normally only takes a few seconds. What other services are starting? Do you have a largish filesystem set to do fscks at frequent intervals (i.e., after every "N" mounts; you can set that mount-count with tune2fs).
 
Old 06-25-2020, 09:50 AM   #9
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
This has nothing to do Linux but here is a great example that aggravates me to no end every morning I fire up my work laptop:

Dell 7700 (?) 17" laptop
i7 quad core at 2.7ghz
16GB ram
Spinning HDD

From power on to a USABLE desktop takes 10-15 minutes. the HDD activity light stays on solid for closer to 20 minutes.

Windows 10 Enterprise on a government network with all of the related security tweaks and desktop management software. Once running, it's fine but I have to start the logon process early or I'll be late to work...

Consider yourself lucky at 75 seconds...
 
Old 06-25-2020, 01:44 PM   #10
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,818

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by sevendogsbsd View Post
From power on to a USABLE desktop takes 10-15 minutes. the HDD activity light stays on solid for closer to 20 minutes.
The missus's Win7 laptop has comparable boot time. (It's one major thing I really don't miss about Windows.) I try to remind her to turn it on before making the morning coffee so, maybe, it'll be ready by the time the coffee's ready.
 
Old 06-25-2020, 01:51 PM   #11
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
It's crazy because although I don't know the generation of CPU in my laptop, my desktop also has an i7 7700) albeit it is all SSD, and my desktop boots in about 10 seconds. Corporate/business Windows 10 set up vice "Home" set up though so that probably makes a huge difference.
 
Old 06-25-2020, 02:55 PM   #12
ineuw
LQ Newbie
 
Registered: Nov 2003
Location: Canada
Distribution: Linux Miny 19.3
Posts: 29

Original Poster
Rep: Reputation: 2
Quote:
Originally Posted by sevendogsbsd View Post
It's crazy because although I don't know the generation of CPU in my laptop, my desktop also has an i7 7700) albeit it is all SSD, and my desktop boots in about 10 seconds. Corporate/business Windows 10 set up vice "Home" set up though so that probably makes a huge difference.
I had two 120GB SSD's, one for Windows 10 and one for Linux Mint and it also booted very fast. But buying the 2TB drive, forced me to remove the Linux SSD and install it in my laptop where the space was needed. The 2TB drive was a replacement of an 8 year old 500GB Seagate which was developing issues of reliability. Since I only had the budget for one drive, I had no choice.
 
Old 06-25-2020, 03:30 PM   #13
sevendogsbsd
Senior Member
 
Registered: Sep 2017
Distribution: FreeBSD
Posts: 2,252

Rep: Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011Reputation: 1011
Drive size seen in Linux has to do with the file system used and 2TB drives should be no issue at all. I can't speak to the nuances of each file system because I have only used (historically) Ext2,3 and 4.
 
Old 06-25-2020, 03:45 PM   #14
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,159
Blog Entries: 6

Rep: Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836Reputation: 1836
Quote:
From power on to a USABLE desktop takes 10-15 minutes. the HDD activity light stays on solid for closer to 20 minutes.
No kidding. Does it automatically check for updates and install them on boot up? I've been told that windows does that now whether you like it or not. No wonder the default on windows is to hibernate and not turn off.
 
Old 06-25-2020, 03:52 PM   #15
Samsonite2010
Member
 
Registered: Apr 2015
Distribution: Debian
Posts: 267
Blog Entries: 1

Rep: Reputation: 117Reputation: 117
I have a 12TB mechanical disk array on my file server - I guess boot time is not an issue as it is on 24/7, but size is not an issue (insert joke here).

When I moved some of my Linux desktops from mechanical to SSD, we are talking 2 mins changing to under 30 seconds. My main desktop went from a minute to 10 seconds power to desktop. I built a living room PC for my sister with an M.2 drive which is power to desktop in under 10 (jealous, wish I did that on mine).

Just giving my anecdotal experience with Linux boot times. And to add that for every single machine that I converted from Windows to Linux, the time was improved massively. We had a Windows 10 machine that took about 10 minutes before it was operational (an expensive laptop) - put Debian on it and it was under a minute on a mechanical drive. Boot times are so variable but at the same time, generally easy to improve.
 
  


Reply

Tags
boot issues, disk diagnostics, linux mint 9



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
[SOLVED] Can't mount Western Digital Elements 2TB external hard drive ChiVampir Linux - Hardware 10 07-22-2018 08:37 AM
Most efficient way to back up, then sync, one 2TB drive to another 2TB drive (ubuntu) eco_bach Linux - Newbie 3 01-09-2017 05:01 PM
[SOLVED] I have a SSD a 500GB drive and a 2TB drive and want to move Ubuntu from 500GB to SSD greatormesby Linux - Newbie 12 07-06-2015 09:58 AM
[SOLVED] Dell Precision T7400 can't see 2TB drive in BIOS pljvaldez Linux - Hardware 1 10-01-2010 03:12 PM
If I use MBR on a 64bit Linux, do I still have 2TB limitation on booting partition? cybeijing Linux - General 14 11-13-2009 06:06 PM

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

All times are GMT -5. The time now is 06:41 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