Hello everybody,
I want to solve the following problem: I have a ThinkPad W510 which has a SATA hot swap bay (Serial Ultrabay Enhanced). And yes I can swap stuff like a madman on windows at runtime, so it technically works.
I use this Bay for:
a. occasionally an optical drive (for ripping Audio CDs and the occasional Data CD)
b. my SSD with the Win10 Install that was my main until a few weeks ago
c. another SSD soley dedicated to Timeshift Snapshots (and other backup stuff)
My Manjaro Install is on a 1TB SSD in the hardwired slot of my machine.
If those devices are installed at boot time, they all get recognized fine and work the way they should. I also updated my fstab accordingly so thatâs all good.
When the Bay is empty at boot and I plug in the hot swap casette while manjaro is running, it also getâs detected and mounted correctly. I also set the checkbox in the thunar-volman that media should be hot pluggable, itâs also enabled in BIOS (I donât have a UEFI).
Only when I unplug a device and put another one in while manjaro is running, nothing new getâs recognized.
So my question is how do I put the system in a state like at boot time where it checks SATA devices and mounts them? I canât find anything about a scenario like that, only for eSATA (which it isnât).
Of course I could reboot when I want to swap a module but thatâs lame and it wouldnât be a hot swap anymore
Also regarding the pass number in my fstab. I see everybody setting the number to 0 when mounting other drives. The fstab manual says it should be set to 2 though. I understand that I donât want my external media HDD checked at boot, but at which point do I want a drive to be tested at startup?
Do I want to check my backup partition? Do I want to check the second patition on my 1TB SSD where I store only bulk data like music, ISOs and games? Does it take longer to boot if it tries to check for two partitions that might not be there? Or is it just a millisecond type of thing?
Since all those devices are swappable, wouldnt I WANT to check all of them and just add the ânofailâ option in case they arenât there? And what would be the worst case if a partition that isnât checked should have been checked?
thanks for helping out, I appreciate it!
here is my fstab in case it helps:
#---------------------------------------------------------------------------------------------------------------------------------------#
# /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=eee373c9-515b-4422-860c-f60577e95841 / ext4 defaults,noatime 0 1
UUID=c9dca860-472e-4d7e-8dd9-b14538d9a53f swap swap defaults,noatime 0 0
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
UUID=dd91319d-c731-4939-a3c8-c4b472c2a958 /media/Data ext4 defaults,nofail 0 2
UUID=24b34b91-f83f-4239-af3d-211dd1104bee /media/Backup ext4 defaults,nofail 0 2
UUID=373ADDA6610597A5 /media/Windows ntfs defaults,nofail 0 0
UUID=AFE5A3B58FCBD714 /mnt/WinSysRes ntfs defaults,nofail,noauto 0 0
UUID=BC2CF6852CF639CA /media/ExterneHN ntfs defaults,nofail 0 0
#---------------------------------------------------------------------------------------------------------------------------------------#