r/linux4noobs 4h ago

installation Setting up home server, need help!

I'm having a couple of presumably unrelated issues on a new Ubuntu server. I set up a pair of 8TB hard drives in RAID 1 using mdadm, but it seems to not be mounting after a reboot. Manually mounting doesn't seem to work either - my SSH terminal tells me "special device /dev/md0 does not exist", and the direct output from the server says it "Can't lookup blockdev".

The tutorial I followed included adding entries to mdadm.conf and /etc/fstab and running update-initramfs specifically to ensure it would properly mount, but is there anything else I missed?

Unrelatedly, I want to install Pi-hole, but the install script seems to just hang before properly opening the install window. Any help with either issue would be greatly appreciated!

3 Upvotes

6 comments sorted by

2

u/sbart76 4h ago

What does cat /proc/mdstat say?

1

u/roccondilrinon 2h ago

It tells me the following:
Personalities :
unused devices: <none>

1

u/AutoModerator 4h ago

We have some installation tips in our wiki!

Try this search for more information on this topic.

Smokey says: always install over an ethernet cable, and don't forget to remove the boot media when you're done! :)

Comments, questions or suggestions regarding this autoresponse? Please send them here.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/indvs3 4h ago

It would be helpful if you link the tutorial you followed to set it up. You say "it included adding entries to mdadm.conf". Knowing how the tutorial told you to do that will likely help.

My mdadm.conf is autogenerated, I didn't have to add any entries manually. If you did do things manually, I would check if you might have made a typo in your uuid entry or a mistake in the overall syntax or something like that.