LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 02-16-2019, 08:29 PM   #16
hemlocktree
Member
 
Registered: Aug 2018
Location: Northern Exposure
Distribution: 3 Bodhi 5's & 1 debian 9.8
Posts: 485

Rep: Reputation: 202Reputation: 202Reputation: 202

also this is very recent:

https://news.softpedia.com/news/cano...e-524892.shtml
 
Old 02-17-2019, 03:30 PM   #17
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,270

Original Poster
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
This owner has one tower that has 3 different drives and each drive has it's own Linux os.
Mint 19.1, Debian 9 and MX-18:-

After installing Mint and MX-18 there is now the error message:
Code:
mdadm:No arrays found in config file or automatically
Raid arrays were not set up on this machine.

Running:
Code:
mdadm --detail --scan --verbose
and mdadm --examine --scan --verbose
Returns nothing.

Should it be ok to delete the mdadm.conf file?
 
Old 02-19-2019, 07:47 PM   #18
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,270

Original Poster
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
After many days of reading through pages of google searches it's become clear what the error:
Code:
mdadm:No arrays found in fonfig file or automatically
is all about.

The etc/mdadm/mdadm.config file is simply for creating and managing Raid arrays.
Since I do not have any Raid arrays set up I'm thinking about removing the mdadm.config file all together and see if I still get the error at boot up.

I've looked for the mdadm file on Mint and MX-18 and that config file does not exist. I don't know for sure if this file was automatically generated or somehow was created due to an update.

I'll have to find out with certainty over the next several days and more searching/reading if removing that file is going to be an issue.
I suspect that removing that file won't be a problem as there aren't any Raid arrays set up.
 
Old 02-19-2019, 08:03 PM   #19
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 946

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by Ztcoracat View Post
After many days of reading through pages of google searches it's become clear what the error:
Code:
mdadm:No arrays found in fonfig file or automatically
is all about.

The etc/mdadm/mdadm.config file is simply for creating and managing Raid arrays.
Since I do not have any Raid arrays set up I'm thinking about removing the mdadm.config file all together and see if I still get the error at boot up.

I've looked for the mdadm file on Mint and MX-18 and that config file does not exist. I don't know for sure if this file was automatically generated or somehow was created due to an update.

I'll have to find out with certainty over the next several days and more searching/reading if removing that file is going to be an issue.
I suspect that removing that file won't be a problem as there aren't any Raid arrays set up.
Rename it to mdadm.config.bac and reboot. At least it can be restored if actually needed. The /etc/mdadm directory don't exist on my Debian testing. Nor is the mdadm package installed on mine, maybe uninstalling the package altogether.

Last edited by Brains; 02-19-2019 at 08:10 PM.
 
2 members found this post helpful.
Old 02-19-2019, 08:12 PM   #20
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 946

Rep: Reputation: 239Reputation: 239Reputation: 239
Oh!
I tried a mock install of mdadm and there are 14 dependencies, so perhaps it was installed as a dependency for something else on yours.

Code:
jo@Willy:~$ apt-cache rdepends mdadm
mdadm
Reverse Depends:
  libblockdev-mdraid2
  zfs-test
  udisks2
  systray-mdstat
  libguestfs0
  grub-common
  backupninja
  grub-legacy
  forensics-extra
  fai-setup-storage
  dracut-core

Last edited by Brains; 02-19-2019 at 08:17 PM.
 
1 members found this post helpful.
Old 02-19-2019, 09:36 PM   #21
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,270

Original Poster
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
The fact that it's not on your Debian Testing machine makes me suspicious that something may not of been right with a recent update or upgrade:-

I can't get to that machine right now so.........
I'll rename it when I can, reboot and let you know what happens.
 
Old 02-19-2019, 10:09 PM   #22
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 946

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by Ztcoracat View Post
The fact that it's not on your Debian Testing machine makes me suspicious that something may not of been right with a recent update or upgrade:-

I can't get to that machine right now so.........
I'll rename it when I can, reboot and let you know what happens.
The list of packages in my last post for the apt-cache reverse depends shows which packages may be installed that needed mdadm as a dependency.
 
Old 02-19-2019, 10:14 PM   #23
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,270

Original Poster
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
Quote:
Originally Posted by Brains View Post
The list of packages in my last post for the apt-cache reverse depends shows which packages may be installed that needed mdadm as a dependency.
grub common is an important pkg so I'll rename the mdadm file and see what happens.
Thanks for listing the dependencies.

Do you think Brains that there is a chance renaming that config could cause Debian not to boot?

Last edited by Ztcoracat; 02-19-2019 at 10:17 PM.
 
Old 02-19-2019, 10:20 PM   #24
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 946

Rep: Reputation: 239Reputation: 239Reputation: 239
I have grub-common installed, so likely won't be an issue. Which also suggests the reverse depends is not entirely accurate, I also have udisks2 installed but none of the others.
 
1 members found this post helpful.
Old 02-21-2019, 12:55 AM   #25
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,270

Original Poster
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
Renaming that file fails with error with or w/o elevated privileges.

Code:
rename mdadm.conf mdadm.conf.bac /etc/mdadm/mdadm.confBareword "mdadm" not allowed while "strict subs" in use at (user-supplied code).
Any thoughts? What am I missing?
 
Old 02-21-2019, 03:53 PM   #26
Brains
Member
 
Registered: Apr 2009
Distribution: Debian testing
Posts: 946

Rep: Reputation: 239Reputation: 239Reputation: 239
Code:
root@Willy:/home/jo# aptitude install mdadm
The following NEW packages will be installed:
  exim4-base{a} exim4-config{a} exim4-daemon-light{a} guile-2.2-libs{a} libgnutls-dane0{a} libgsasl7{a} 
  libkyotocabinet16v5{a} liblzo2-2{a} libmailutils5{a} libntlm0{a} libunbound8{a} mailutils{a} 
  mailutils-common{a} mdadm psmisc{a} 
0 packages upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.4 MB/11.1 MB of archives. After unpacking 59.6 MB will be used.
Do you want to continue? [Y/n/?] n
Abort.
root@Willy:/home/jo#
Here's a suggestion:

The code above shows the 14 dependency packages that would get installed if I were to install mdadm. If you run command: apt-get remove mdadm and these are the only other packages that would need be uninstalled also, means mdadm is not installed as a dependency for something else, it may have been installed as a "suggested" or "recommended" package, which in turn means you don't really need it. As long as the list to be removed only contains these or some of these packages, you'd be safe to remove it. It should ask for confirmation before going ahead. If you have synaptic installed, it'll do the same.

If it returns saying there are other packages not in the list above that will need be removed, then you will know which packages depend on it and can decide then whether you want to go ahead or not.
 
Old 02-21-2019, 09:04 PM   #27
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,270

Original Poster
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
Quote:
Originally Posted by Brains View Post
Code:
root@Willy:/home/jo# aptitude install mdadm
The following NEW packages will be installed:
  exim4-base{a} exim4-config{a} exim4-daemon-light{a} guile-2.2-libs{a} libgnutls-dane0{a} libgsasl7{a} 
  libkyotocabinet16v5{a} liblzo2-2{a} libmailutils5{a} libntlm0{a} libunbound8{a} mailutils{a} 
  mailutils-common{a} mdadm psmisc{a} 
0 packages upgraded, 15 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.4 MB/11.1 MB of archives. After unpacking 59.6 MB will be used.
Do you want to continue? [Y/n/?] n
Abort.
root@Willy:/home/jo#
Here's a suggestion:

The code above shows the 14 dependency packages that would get installed if I were to install mdadm. If you run command: apt-get remove mdadm and these are the only other packages that would need be uninstalled also, means mdadm is not installed as a dependency for something else, it may have been installed as a "suggested" or "recommended" package, which in turn means you don't really need it. As long as the list to be removed only contains these or some of these packages, you'd be safe to remove it. It should ask for confirmation before going ahead. If you have synaptic installed, it'll do the same.

If it returns saying there are other packages not in the list above that will need be removed, then you will know which packages depend on it and can decide then whether you want to go ahead or not.
Not sure if I want to rm mdadm and it's dependencies or not.

First I'm going to run dpkg -L and see if it's already installed.

The good news is Debian still boots it just takes a while because the error shows about 20 times in tty before taking me to the log in.

Another thing I'm going to try is to boot to a Live Linux CD and try to rename that file. I'll see what that get's me:-

Last edited by Ztcoracat; 02-21-2019 at 11:48 PM.
 
Old 02-22-2019, 03:28 PM   #28
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,270

Original Poster
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
Well, mdadm is already installed:-

I'll try renaming that file with the Live Linux Mint CD and see how that goes and let you know.
 
Old 03-04-2019, 06:25 AM   #29
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,270

Original Poster
Blog Entries: 15

Rep: Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139Reputation: 1139
I haven't forgotten about this thread.

Life has been very busy.
 
Old 03-04-2019, 06:46 AM   #30
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,680

Rep: Reputation: 455Reputation: 455Reputation: 455Reputation: 455Reputation: 455
Quote:
Originally Posted by Ztcoracat View Post
What am I missing?
man rename?
mv should work too.

So, you're just trying to stop mdadm from reporting it's findings at boot?

If you don't want/need it just remove the package.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Long time member, long time *nix user, about time to say hi. stuman LinuxQuestions.org Member Intro 0 10-15-2013 07:35 AM
Aboout "with very long lines",how long is very long? yun1st Linux - Newbie 4 07-20-2012 03:38 PM
long long long: Too long for GCC Kenny_Strawn Programming 5 09-18-2010 01:14 AM
Fedora9 now taking long time to boot terry-duell Fedora 7 12-10-2008 10:16 PM
SuSE 10.1 taking a long time to boot up adityavpratap SUSE / openSUSE 2 07-04-2006 06:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:16 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration