I have 2 internal Hard drives. 240GB Kingston SSD mounted at boot/efi, filesystemroot, and /home.
The second sata drive 1.0TB mounted at /media/gt/mylabel.
I access the second by opening file browser where it is listed under devices as mylabel. Click on that and I have an icon on the desktop for that drive.
I am repeatedly finding that after a period of inactivity this drive disappears from my system. No desktop icon NO entry under Devices and I have to reboot to find it. Both drives are Ext4 format.
Any ideas?
2cnd drive dissapears - Solved
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
2cnd drive dissapears - Solved
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: 2cnd drive dissapears
Show your fstab, blkid, and inxi results using a terminal window.moose wrote: ⤴Mon Oct 25, 2021 2:43 pm I have 2 internal Hard drives. 240GB Kingston SSD mounted at boot/efi, filesystemroot, and /home.
The second sata drive 1.0TB mounted at /media/gt/mylabel.
I access the second by opening file browser where it is listed under devices as mylabel. Click on that and I have an icon on the desktop for that drive.
I am repeatedly finding that after a period of inactivity this drive disappears from my system. No desktop icon NO entry under Devices and I have to reboot to find it. Both drives are Ext4 format.
Any ideas?
Code: Select all
cat /etc/fstab
Code: Select all
blkid
Code: Select all
inxi -Fxxxzd
paste the results between those brackets
Last edited by all41 on Mon Oct 25, 2021 8:58 pm, edited 1 time in total.
Everything in life was difficult before it became easy.
Re: 2cnd drive dissapears
Code: Select all
gt@gt-A320M-S2H:~$ 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>
# / was on /dev/sdb2 during installation
UUID=2684f49c-dd79-47bd-8cd1-301a9e935e2c / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sdb1 during installation
UUID=60E2-779A /boot/efi vfat umask=0077 0 1
# /home was on /dev/sdb3 during installation
UUID=13bf8e75-fe90-47b6-8dde-a4d77a5c30cf /home ext4 defaults 0 2
/swapfile none swap sw 0 0
gt@gt-A320M-S2H:~$ blkid
/dev/sda1: LABEL="mylabel" UUID="573e9bf2-87c0-46a2-b3a3-335309364b08" TYPE="ext4" PARTUUID="79f7b3c6-05a6-4743-9d19-5bbc758dee1f"
/dev/sdb1: UUID="60E2-779A" TYPE="vfat" PARTUUID="d043b24e-f34f-47bd-b30f-312f07063d6d"
/dev/sdb2: UUID="2684f49c-dd79-47bd-8cd1-301a9e935e2c" TYPE="ext4" PARTUUID="f9ba366f-1abf-4e2b-9270-9a099bf99b0d"
/dev/sdb3: UUID="13bf8e75-fe90-47b6-8dde-a4d77a5c30cf" TYPE="ext4" PARTUUID="323b2a1a-2ece-43b4-bec9-411b7c829c77"
gt@gt-A320M-S2H:~$ inxi -Fxxxzd
System:
Kernel: 5.11.0-38-generic x86_64 bits: 64 compiler: N/A
Desktop: MATE 1.24.0 info: mate-panel wm: marco 1.24.0 dm: LightDM 1.30.0
Distro: Linux Mint 20.2 Uma base: Ubuntu 20.04 focal
Machine:
Type: Desktop System: Gigabyte product: A320M-S2H v: N/A serial: <filter>
Mobo: Gigabyte model: A320M-S2H-CF v: x.x serial: <filter>
UEFI: American Megatrends v: FA date: 08/26/2020
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard
serial: <filter> charge: 55% (should be ignored) rechargeable: yes
status: Discharging
CPU:
Topology: Quad Core model: AMD Ryzen 3 3200G with Radeon Vega Graphics
bits: 64 type: MCP arch: Zen+ rev: 1 L2 cache: 2048 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
bogomips: 28746
Speed: 1300 MHz min/max: 1400/3600 MHz boost: enabled Core speeds (MHz):
1: 1300 2: 1258 3: 1258 4: 1257
Graphics:
Device-1: AMD Picasso vendor: Gigabyte driver: amdgpu v: kernel
bus ID: 07:00.0 chip ID: 1002:15d8
Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati
unloaded: fbdev,modesetting,vesa compositor: marco v: 1.24.0
resolution: 1920x1080~60Hz
OpenGL: renderer: AMD Radeon Vega 8 Graphics (RAVEN DRM 3.40.0
5.11.0-38-generic LLVM 12.0.0)
v: 4.6 Mesa 21.0.3 direct render: Yes
Audio:
Device-1: AMD Raven/Raven2/Fenghuang HDMI/DP Audio driver: snd_hda_intel
v: kernel bus ID: 07:00.1 chip ID: 1002:15de
Device-2: AMD Family 17h HD Audio vendor: Gigabyte driver: snd_hda_intel
v: kernel bus ID: 07:00.6 chip ID: 1022:15e3
Sound Server: ALSA v: k5.11.0-38-generic
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Gigabyte driver: r8169 v: kernel port: f000 bus ID: 06:00.0
chip ID: 10ec:8168
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
Local Storage: total: 1.13 TiB used: 70.46 GiB (6.1%)
ID-1: /dev/sda vendor: Seagate model: ST1000DM010-2EP102 size: 931.51 GiB
speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> rev: CC43 scheme: GPT
ID-2: /dev/sdb vendor: Kingston model: SA400S37240G size: 223.57 GiB
speed: 6.0 Gb/s serial: <filter> rev: B1H5 scheme: GPT
Message: No Optical or Floppy data was found.
Partition:
ID-1: / size: 28.72 GiB used: 11.24 GiB (39.1%) fs: ext4 dev: /dev/sdb2
ID-2: /home size: 189.96 GiB used: 2.49 GiB (1.3%) fs: ext4 dev: /dev/sdb3
Sensors:
System Temperatures: cpu: 40.4 C mobo: N/A gpu: amdgpu temp: 40 C
Fan Speeds (RPM): N/A
Info:
Processes: 225 Uptime: 1h 45m Memory: 5.75 GiB used: 1.02 GiB (17.7%)
Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.3.0 alt: 9 Shell: bash
v: 5.0.17 running in: mate-terminal inxi: 3.0.38
Re: 2cnd drive dissapears
Try opening the drive when present and in the caja toolbar choose Bookmarks/Add Bookmark, then 'my label'
will show in Caja Places (left pane)
If you want continuous access to to 'my label' then mount it in fstab--like this:
Make a directory for the mount:
Then copy/paste the following lines to the bottom of /etc/fstab (as root)
be sure to get the entire line.
Then run:
If this returns a command prompt with no errors the drive will be mounted
will show in Caja Places (left pane)
If you want continuous access to to 'my label' then mount it in fstab--like this:
Make a directory for the mount:
Code: Select all
sudo mkdir /mnt/mylabel
be sure to get the entire line.
#mount /dev/sda1 mylabel
UUID=573e9bf2-87c0-46a2-b3a3-335309364b08 /mnt/my label ext4 rw,nosuid,nodev,exec,auto,nouser,async,nofail,noatime 0 2
Then run:
Code: Select all
sudo mount -a
Everything in life was difficult before it became easy.
Re: 2cnd drive dissapears
Thank you all41 for those clear instructions. Thinking it through I'm not really concerned about having continuous access I just want it to be there when I need it so for the time being I've just bookmarked it and kept your instructions for mounting in fstab if i decide to change.