Adding hard drives/ ssd's to OM

Hi Lee.

Just got home from work.

The contents of fstab as requested.

[sudo] password for cg: 
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=0c19b279-e86b-4f1c-88e9-ef4d287d27de   /                                                     ext4    noatime                                                                                   0 1 
tmpfs                                       /tmp                                                  tmpfs   noatime,mode=1777                                                                         0 0 
UUID=455768be-5360-4bc2-b0fb-344b1935de04   /mnt/cg/15F6651F-742C-42AD-A1F8-A2D9B2311CC1
   btrfs   nofail,defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail   0 0 
[cg@cgpc ~]$ 

Regards C

Answer: Yes internal. Auto mount or not I still get asked for a password.

Answer: As I went through all this already when moving over to a linux based OS I preped my drives then, befor I ran OM i was on mint, the two ssd’s are btrfs and the sata’s are ext4.
I therefore have no ntfs drives in my system, I am running a purely linux pc…

Answer: This has already been done, inside Dolphine though, I still need to enter my password.

Regards C

Needs to be changed to something like /storage
I see nofail twice on that line
It needs to end with 0 2 instead of 0 0

This is most likely the culprit that is preventing your boot. I am not sure what that is or where it came from, but it needs to go away. Start by REMing out that line with a #

Charles, is that all on one line or did it just get split in the copy and paste? It should be one line

Hi Wilson

Ok, will look into that and revert back. Just to be clear, the problem is not the booting. the problem is Dolphin continually needing my admin password to access the drive see post 46.

I copied the entire Konsol output, I used sudo cat /etc/fstab to get the contents.

[cg@cgpc ~]$ 

This is my prompt from within konsol, every line starts with that, I can’t remove it…

It was probably just the screen formatting, below is s screen capture.

Regards C

O.K., you catted that out rather than look at it from an editor. I have no way to know if that line is split, but it needs to be one line. You can change that mount point to anything you want. You might as well make it simple and much shorter, like /storage or something. Remember that it will show in the left hand column of Dolphin, so it needs to be shorter. :slightly_smiling_face:

I understand that you caught the prompt in the copy and paste. No problem there then.

Don’t forget that nofail is in there twice.

It looks like that screen capture shows a line break after the mount-point. Like @WilsonPhillips said, it all needs to be on one line

2 Likes

@WilsonPhillips @P_J

fstab Ammended. What next? Sorry for the slow responses…

[cg@cgpc ~]$ sudo cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=0c19b279-e86b-4f1c-88e9-ef4d287d27de   /                                                     ext4    noatime                                                                                   0 1 
tmpfs                                       /tmp                                                  tmpfs   noatime,mode=1777                                                                         0 0 
UUID=455768be-5360-4bc2-b0fb-344b1935de04   /mnt/cg/15F6651F-742C-42AD-A1F8-A2D9B2311CC1          btrfs   nofail,defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail   0 0 
[cg@cgpc ~]$ 

Regards C

@CharlesGibbsNam WP mentioned this.

Change that mount point to something more usable :slightly_smiling_face:
Nofail is still there twice.
0 0 to 0 2
and reboot. :smiley:

I am not familiar with lazytime and don’t know how it works or if it is compatible with noatime. I don’t have any input on that.

1 Like

Good point on the usability. @CharlesGibbsNam did you want it mounted (with a reasonable name) in your home folder? You can do that, but you’ll need to create the folder before you mount it (or, likewise, before you reboot).

Will do it now… Short memory…

[cg@cgpc ~]$ sudo cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=0c19b279-e86b-4f1c-88e9-ef4d287d27de   /                                                     ext4    noatime                                                                                   0 1 
tmpfs                                       /tmp                                                  tmpfs   noatime,mode=1777                                                                         0 0 
UUID=455768be-5360-4bc2-b0fb-344b1935de04   /mnt/cg/15F6651F-742C-42AD-A1F8-A2D9B2311CC1          btrfs   nofail,defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail   0 2 
[cg@cgpc ~]$ 

I’m looking at mine and I did not have to create any folders.

@WilsonPhillips @P_J

Dolphin still requires a password. How do I check if the ownership has actually taken affect?

@P_J If you look at the above screenshot you will see that Dolphine has maintained the actual name that I gave the drive (Scratch) under devices.

Just a question, @WilsonPhillips why is your “root” being shown and mine not? I just saw on my laptop that “root” is showing up on it too but not on my pc?

Mine just shows as default. I didn’t have to do anything.

How about using this? I replaced one nofail with user and changed the mountpoint.

UUID=455768be-5360-4bc2-b0fb-344b1935de04   /Scratch          btrfs   user,defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail   0 2 

Hi @WilsonPhillips

Have replaced the line, will restart and revert back once done.

[cg@cgpc ~]$ sudo cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=0c19b279-e86b-4f1c-88e9-ef4d287d27de   /                                                     ext4    noatime                                                                                   0 1 
tmpfs                                       /tmp                                                  tmpfs   noatime,mode=1777                                                                         0 0  
UUID=455768be-5360-4bc2-b0fb-344b1935de04   /Scratch          btrfs   user,defaults,compress-force=zstd:3,noatime,lazytime,commit=120,space_cache=v2,nofail   0 2

Regards C

Hi Wilson.

After restart authentication is still required.

I suspected this might happen. Just guessing on your uid and gid.

sudo chown -R cg:cg /Scratch

Oh! That might take a moment.

@CharlesGibbsNam just in case something is just fundamentally off, here is a good, step by step video on mounting drives into file systems by editing from fstab. chances are, you have done all the steps right and everyone has said the right things, but I’ve followed this guide in the past and it has never failed. If you start the video at about 5:50 you should be good. Before that, he talks about how to reformat in the CLI, but you don’t need to do that. You’ll have to change some information, like instead of EXT4, you’re doing BTRFS, and your mount point will be different, but the rest of the guide is solid. But, in the end, maybe all you need to do now is the chown command, as discussed before.

Anyway, here is the video:

1 Like