Hello there im trying to set up my disks(1 m2 , 1 ssd , 1 hdd)
All im trying to do is to set it up to always mount at the start of the system.
Every time i have to go to "Disks" app and start it from there . Both are Ext4 .
I also want to make sure trim is running on SSDs and defragment on HDD .
Thanks in advance.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
How to set up my Disks
- canci
- Global Moderator
- Posts: 2502
- Joined: 2006-09-24 11:28
- Has thanked: 136 times
- Been thanked: 136 times
Re: How to set up my Disks
Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
READ THIS:
* How to Post a Thread Here
* Other Tips and Great Resources
Re: How to set up my Disks
I think i missed something and now my HDD is read only?Im not really sure.
It was something like this UUID=******* / ext4 defaults 1 1
Also should i add something to enable defragment?
Also at the SSD should i enable anything for trim and autostart?
It was something like this UUID=******* / ext4 defaults 1 1
Also should i add something to enable defragment?
Also at the SSD should i enable anything for trim and autostart?
- NFT5
- df -h | grep > 20TiB
- Posts: 597
- Joined: 2014-10-10 11:38
- Location: Canberra, Australia
- Has thanked: 10 times
- Been thanked: 43 times
Re: How to set up my Disks
I'd guess that your formatting is wrong.
Here's a fairly simple one on this single HDD notepad that I'm using at the moment:
When you give examples, copy from the original file and paste using the code tags. Then we can see what you actually have, not something that you've typed.
Note that the spaces should be Tabs and that mount points need the full address, including the leading "/". Mounting just to /, if that's what you've done, is not a good idea. Use your /home folder so you can see the drive or partition in your file manager.
IMHO, modern SSDs don't need trim and, using Ext4 you don't need to defragment which is a hangover from Windows.
Here's a fairly simple one on this single HDD notepad that I'm using at the moment:
Code: Select all
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=e0f7fe0b-2778-4bc3-8056-53d7f7893f70 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=0947-AD67 /boot/efi vfat umask=0077 0 1
# /home was on /dev/sda3 during installation
UUID=b41fae8e-5fb8-4650-ae3b-8d18f7dc7e78 /home ext4 defaults 0 2
# Automount DATA
UUID=4efb3a9c-03d9-4a9a-98bf-5266cc2a9621 /home/chris/DATA ext4 defaults 0 0
# Automount SWAP
UUID=4acbe646-34d2-43c8-8887-a02cc681a6ec none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
Note that the spaces should be Tabs and that mount points need the full address, including the leading "/". Mounting just to /, if that's what you've done, is not a good idea. Use your /home folder so you can see the drive or partition in your file manager.
IMHO, modern SSDs don't need trim and, using Ext4 you don't need to defragment which is a hangover from Windows.
Re: How to set up my Disks
Still i get Could not paste files .
Permissions do not allow pasting files in thiss directory on my HDD ext4 backup .
What i should do?
Permissions do not allow pasting files in thiss directory on my HDD ext4 backup .
What i should do?
Re: How to set up my Disks
I got help from IRC members .
https://epistel.no/fstab/
There is this line fstab generator that guide me .
its fixed.
https://epistel.no/fstab/
There is this line fstab generator that guide me .
its fixed.