fstab, I am missing something obvious

15 views
Skip to first unread message

Howard White

unread,
Mar 29, 2020, 10:00:26 AM3/29/20
to nlug...@googlegroups.com
Grrrrrr.

HP DL360 G5 with P400i RAID controller. One 72gb drive with Ubuntu
18.04 server, five 600GB drives configured RAID 5 for a 2.2TB virtual drive.

Ubuntu runs just fine, been running Folding at Home on it for a few days
but built the OS weeks ago. Haven't added /dev/sdb1 to the system, yet,
'cause I really didn't have a plan. Plan has just arrived...

First lesson - fdisk don't work beyond 2TB. Have used parted:
parted /dev/sdb
mklabel gpt
mkpart primary 0 0
print
q

Create file system mkfs.ext4 /dev/sdb1
Create mount point mkdir -pv /raid

All that is tickety-boo.

I am able to mount the file system command line:
mount -t ext4 /dev/sdb1 /raid

But can I add the essential elements to /etc/fstab
UUID=c1056823-6a68-4bfd-92ba-c6e2f6e7cf37 /raid ext4 default 0 0

and just
mount /raid
??

Noooooooo


I'm missing something obvious

Howard

Tilghman Lesher

unread,
Mar 29, 2020, 10:51:46 AM3/29/20
to NLUG
What's the output of:

% sudo blkid
> --
> --
> You received this message because you are subscribed to the Google Groups "NLUG" group.
> To post to this group, send email to nlug...@googlegroups.com
> To unsubscribe from this group, send email to nlug-talk+...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/nlug-talk?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups "NLUG" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to nlug-talk+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/nlug-talk/2635533f-23d5-58d0-1074-2abadc3a7b1c%40vcch.com.



--
Tilghman

Howard White

unread,
Mar 29, 2020, 11:13:33 AM3/29/20
to nlug...@googlegroups.com
Thanks Tilghman,

/dev/sdb1: UUID="c1056823-6a68-4bfd-92ba-c6e2f6e7cf37" TYPE="ext4"
PARTLABEL="primary" PARTUUID="041a49c6-649a-4b7f-a9e8-bbea4558844d"

Howard

On 3/29/20 9:51 AM, Tilghman Lesher wrote:
> What's the output of:
>
> % sudo blkid
>
> On Sun, Mar 29, 2020 at 9:00 AM Howard White <hwh...@vcch.com> wrote:
>>
>> Grrrrrr.
>>
>> HP DL360 G5 with P400i RAID controller. One 72gb drive with Ubuntu
>> 18.04 server, five 600GB drives configured RAID 5 for a 2.2TB virtual drive
>>

John R. Dennison

unread,
Mar 29, 2020, 11:28:00 AM3/29/20
to nlug...@googlegroups.com
On Sun, Mar 29, 2020 at 09:00:19AM -0500, Howard White wrote:
>
> But can I add the essential elements to /etc/fstab
> UUID=c1056823-6a68-4bfd-92ba-c6e2f6e7cf37 /raid ext4 default 0 0

'default' should be 'defaults' I believe.

--
"Anyone can write code. Writing code that works is harder."

-- Wietse Venema, postfix-users mailing list, Oct 28, 2012


Howard White

unread,
Mar 29, 2020, 11:29:48 AM3/29/20
to nlug...@googlegroups.com
Oh SHHHHHHHHHHHHHovel Handles!!!

That worked.

Howard
Reply all
Reply to author
Forward
0 new messages