LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Containers (https://www.linuxquestions.org/questions/linux-containers-122/)
-   -   My secondary hard drive I have to click for it to "wake up". (https://www.linuxquestions.org/questions/linux-containers-122/my-secondary-hard-drive-i-have-to-click-for-it-to-wake-up-4175663301/)

aquatic7 10-28-2019 09:04 AM

My secondary hard drive I have to click for it to "wake up".
 
I have my main SSD (sda) where my OS is on.
Then I have my secondary mechanical HD (sdb).

The hard drive is not "loaded" automatically. It seems like I have to "wake it up" first.
There are no access to it until I open file manager and click on it.

What might be the problem here and how to fix it so I don't have to wake it up. My files won't be synced with my cloud storage bc of this unless I go to file manager and click it to wake it up.

Also, the path /run/media/ seems a bit weird to me, but I don't know :)

In advance, thank you for your assistance.

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 232,9G 0 disk
├─sda1 8:1 0 8,1G 0 part [SWAP]
├─sda2 8:2 0 20,5G 0 part /
└─sda3 8:3 0 204,3G 0 part /home
sdb 8:16 0 931,5G 0 disk
└─sdb1 8:17 0 931,5G 0 part /run/media/anonymous/06bcf743-8b4d-409f-addc-520fc4e19299
sr0 11:0 1 1024M 0 rom
sr1 11:1 1 1024M 0 rom

NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
├─sda1 swap ff83fae0-6c9a-4fe8-aa01-b0ac371382ab [SWAP]
├─sda2 ext4 421d3d6a-1931-4fc4-bd02-75027bfe62a3 1,1G 90% /
└─sda3 ext4 26f3328d-cc0d-43a5-8812-34ebc924c79b 68,1G 61% /home
sdb
└─sdb1 ext4 06bcf743-8b4d-409f-addc-520fc4e19299 333,1G 59% /run/media/anonymous/06bcf743-8b4d-409f-addc-520fc4e19299
sr0
sr1


/dev/sdb:

ATA device, with non-removable media
Model Number: ST1000DM003-1SB10C
Serial Number: Z9A2C9L6
Firmware Revision: CC43
Transport: Serial, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0029)
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 1953525168
Logical Sector size: 512 bytes
Physical Sector size: 4096 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 953869 MBytes
device size with M = 1000*1000: 1000204 MBytes (1000 GB)
cache/buffer size = unknown
Form Factor: 3.5 inch
Nominal Media Rotation Rate: 7200
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: 128
Recommended acoustic management value: 208, current value: 208
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
Write-Read-Verify feature set
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
* DMA Setup Auto-Activate optimization
* Device-initiated interface power management
* Software settings preservation
unknown 78[7]
* SMART Command Transport (SCT) feature set
* SCT Write Same (AC2)
unknown 206[7]
unknown 206[12] (vendor specific)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
106min for SECURITY ERASE UNIT. 106min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: 5000c50091103072
NAA : 5
IEEE OUI : 000c50
Unique ID : 091103072
Checksum: correct

wagscat123 11-02-2019 08:58 AM

So what's happening is that when you click on your hard disk, you're *mounting* it. When you mount a partition or drive, it becomes mapped to a directory on your system from which you can access its contents. Your drive appears to be mounted at "/run/media/anonymous/06bcf743-8b4d-409f-addc-520fc4e19299"

If you want it mounted at startup, the best way is to add a line the /etc/fstab configuration file with your favorite text editor and root privileges (i.e. "sudo nano /etc/fstab")

You need to make sure that the permissions are set right for security reasons/so you can access and edit it from your regular user account. Here's a link on getting it so all users on your system can read/write: https://askubuntu.com/questions/5872...-for-all-users


All times are GMT -5. The time now is 12:19 PM.