You are not logged in.
Pages: 1
I am working on my first install of Arch Linux. So far I have Gnome installed.
I am wanting to install a 2nd drive and have all user data stored there.
I have created a directory call /mnt/home to mount this drive to.
My fstab looks as follows.
# /etc/fstab: static file system information
#
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda3
UUID=26451d63-7980-47ca-90ba-eaae82004981 / ext4 rw,relatime,data=ordered 0 1# /dev/sda1
UUID=BBBD-EB27 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2# /dev/sda2
UUID=81e88961-02e7-4e4d-b201-374070a5521a none swap defaults 0 0# /dev/sdb1
UUID=f1b3d97c-73b5-4fa1-885d-9edbc1ac13c5 /mnt/home ext4 defaults 0 1
When UUID=f1b3d97c-73b5-4fa1-885d-9edbc1ac13c5 /mnt/home ext4 defaults 0 1 is not included, I can see the drive in the file manager. When it is included, it disappears and the avaiable space matches up wth sdb3.
In short this does not appear to be working.
Everything is done as root.
Last edited by abasel (2016-11-20 02:38:23)
Offline
In short this does not appear to be working.
What evidence have you?
What is the output of mount
?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Hello!
I suggest you follow the Fstab wiki before you add any DE (Gnome for example). That way it will be easier for you to find the root cause of the issue.
Also, your "home" should be under "/home" not "/mnt/home". You use "/mnt" when you mount for example an usbstick.
Regards
Martin
Offline
Hi, thanks for your replies. Ok so it is actually mounting correctly. I just assumed that it wasn't beacuse the file manager said there was only 114GB available where is the 2nd mount disk is a TB. I will change the mount point to /home
Offline
I will change the mount point to /home
Only do that if you want the second disk to mount over your current /home. Otherwise, you can continue to mount it in /mnt, but it would probably be wiser to give it a different mountpoint, to avoid confusion: like /mnt/data.
Offline
...I will change the mount point to /home...
Please, also follow the "Fstab wiki" I linked to in my first post to get for example correct "performance options" for your disk!
Only do that if you want the second disk to mount over your current /home. Otherwise, you can continue to mount it in /mnt, but it would probably be wiser to give it a different mountpoint, to avoid confusion: like /mnt/data.
True about mounting over current "/home". Mounting non-temporary disks in "/mnt" is however not considered standard, see this!
Regards
Martin
Last edited by onslow77 (2016-11-19 22:32:51)
Offline
Ok so I have added the following options as per the wiki
# /dev/sdb1
UUID=f1b3d97c-73b5-4fa1-885d-9edbc1ac13c5 /home ext4 noauto,x-systemd.automount,rw,relatime,data=ordered 0 1
As an aside, how do I see how much space I have available. Browing using the Gnome file manager only shows me the space on sda3 and not the mounted sdb1.
Last edited by abasel (2016-11-19 22:38:29)
Offline
As an aside, how do I see how much space I have available. Browing using the Gnome file manager only shows me the space on sda3 and not the mounted sdb1.
From the command line you can use "df", use "man df" to learn how to use it. Here is an example to get a human-readable output:
df -hIn Gnome, I have no clue, check the Gnome wiki.
Regards
Martin
Last edited by onslow77 (2016-11-19 22:50:59)
Offline
Pages: 1