Questions tagged [hard-disk]

A permanent data storage device used for storing and retrieving digital information using rapidly rotating discs (platters) coated with magnetic material in a rigid form factor (as opposed to floppy disks).

Filter by
Sorted by
Tagged with
0
votes
0answers
13 views

NTFS Logical Drives Permission Denied

I am unable to get into the second (NTFS) drive on my Ubuntu 18.04 machine. When I click on the drive icon, I get an error about not having enough permissions. This is what the FSTAB file looks like (...
0
votes
1answer
18 views

Using dd to restore a partition backup from MBR disk to GPT one

I have an ext4 partition backed up with dd on a MBR hard drive that I would like to restore to a new GPT hard drive. Can I just create an empty partition of the exact same size on that new GPT drive ...
1
vote
1answer
75 views

Constantly I have to use `fsck` to fix my PC

It isn't the first time I have this kind of error. I was using my computer (Ubuntu 3.2) when my file permissions turned to read-only, so I restarted the computer, it didn't finish turning on, so I ...
0
votes
0answers
11 views

HDD performance is slow on ASUS N750JK SATA III

Intro I have a laptop ASUS N750JK, which I am trying to setup to work as HTPC. I have noticed one strange behavior - the motherboard is slowing down any HDD I connect to it via SATA3 connection. ...
0
votes
0answers
22 views

Uninstall Ubuntu from dual boot

I have my laptop dual booted with Windows in basic drive (ssd) and ubuntu in dynamic drive(hdd) but now I wish to uninstall ubuntu. I followed some steps as they were given online: 1) In disk ...
0
votes
1answer
42 views

I want to know which sde corresponds to which physical hard disk

I want to know which sde corresponds to which physical hard disk. I noticed that the sde is unallocated space (sde is logical drive where is 2 hard disks with RAID 1),so I want to remove the hard ...
0
votes
0answers
22 views

Why does 1GB disk show as 1073MB and not 1024MB?

fdisk -l output snippet showing disk /dev/sdd of 1GB size: fdisk -l Disk /dev/sdd: 1073 MB, 1073741824 bytes 255 heads, 63 sectors/track, 130 cylinders Units = cylinders of 16065 * 512 = 8225280 ...
0
votes
0answers
13 views

Space allocation for Linux Mint

I am going to install Linux Mint 19.1. My RAM is 4 GB and Hard Drive is 500 GB. In this case how much space should I allocate for swap,'/','/home' and 'EFI' partitions ? Thanks
0
votes
1answer
16 views

Metadata recovery from corrupted ext4 partition

I have a rather complicated data recovery task. I want to get some metadata (filenames, directory structure etc.) out of a corrupted ext4 filesystem. I tried a bunch of tools (Testdisk, fsck, foremost)...
0
votes
1answer
15 views

how many blocks are in the single disk page? Buffer size equal to sector size?

There are some confusions regarding the sizes of disks. I'm trying to calculate the size of a single page of a disk. I want to know how many blocks exist in the typical disk's single page? And, if I ...
0
votes
0answers
24 views

Find/check disk usage/utilization for entire hard drive (all of its partitions) from command line

I have been looking for a command that would give me available space, used space, and percent of space utilization for an entire hard disk (drive). Unfortunately most of the answers I can find online ...
0
votes
1answer
24 views

Converting existing disk to lvm, so I can increase the storage?

I have a disk. I want to convert it to LVM, so I can add another disk to it -- to increase storage. It is not a system disk or anything, it is formatted using xfs and just stores data. Here is the ...
0
votes
1answer
37 views

fstab issue on mounted drives

I am running Ubuntu 18.04 and recently installed two new hard drives running a RAID 1 that I set up using mdadm. But when I shut down and unplug the computer, plug back in the power, then turn the ...
0
votes
0answers
23 views

External HDD spinning even when laptop lid is closed

I am having a 160GB SATA HDD in which I have installed Kali-Linux, last night I just closed the lid of the laptop considering that will continue my work tomorrow from here but in the morning I noticed ...
0
votes
1answer
57 views

libvirtd: No more available PCI slots

Ahoy. Today I wanted to set up a new virtual machine to manage my 8 hard disk devices. Currently I use Fedora 31 as host, and Debian 9 as guest system. I want to pass through the block devices to the ...
1
vote
1answer
46 views

Accidentally ran mkfs command on already available disk

I had a volume of 350Gb attached to my Linode server. It was running out of space so I resized it to 400GB from the dashboard and restarted my server. Then I used the df -h command to check if the ...
0
votes
1answer
44 views

Linux Mint default partitioning: Useful for System Reinstallation?

When you install Linux Mint OS, you are offered to build one partition for both system and user files. LVM VG mint-vg, LV root as ext4 LVM VG mint-vg, LV swap_1 as Swap Partition 1 on SCSI1 (0,0,0) (...
0
votes
0answers
5 views

Linux mint mount my system drive to read only by default, causing booted into terminal instead of GUI

As the title says, it booted into terminal and I get GUI now typing : sudo mount -o remount,rw / After login in the terminal BUT I will need to login again in GUI. So is there any way to make it ...
0
votes
0answers
31 views

Why the Moved File Doesn't Exist at the Destination Path? [duplicate]

I have moved a file (results.txt) from source_path to destination_path, a path on the external hard disk, using the mv command in Mint18. After the moving was finished, I unplugged the disk to plug it ...
1
vote
0answers
21 views

Alert on SMART failures?

I have smartctl on my Linux server and I want to automate alerts if any SMART failures start to appear or if the health degrades. Obviously I can schedule a cron to do something like: smartctl -t ...
4
votes
3answers
955 views

create empty img with dd so that it its sectors are of 4096bytes rather than 512

The final purpose is to build the image of a partition sector by sector. I want the sector size to be 4096. As a first step I am trying to create an empty image of 32MiB with 4096bytes sectors rather ...
0
votes
2answers
51 views

Can you feed urandom to dd for wiping a drive but skip every other block to speed it up?

I've been wiping a large number of old laptops for donation/recycling. To do so I boot up to a Linux live CLI from USB or CD and use dd if=/dev/urandom of=/dev/sda status=progress to overwrite the ...
0
votes
0answers
58 views

Failing to mount a disk that was working a day ago

I cannot boot into Linux properly. The linux only launch terminal. It is probably because it cannot mount /diskA_2TB. But I do not know what is the problem. Everything worked fine a day ago. Is the ...
0
votes
0answers
30 views

Changing permission to hard drive directory Raspbian

I would like to change permission to the directory where my USB drive is mounted that is /media/pi/Elements. I can only have access to SSH. Here is what I tried (as a root and pi user) : root@...
0
votes
1answer
21 views

how to calculate maximum disk IOPS? which tools we can use?

How to calculate maximum disk IOPS? Operating system is CentOS 7. Which tools we can use? I have used iobench, ioping, iostat and sysbench tools but not able to make definitive statement to ...
1
vote
0answers
16 views

change harddisk order before system boots (with kernel command line options)

I have one hard disk connected through onboard SATA, and another through SAS raid controller. The disk connected through raid controller appears as /dev/sda, and the onboart SATA disk as /dev/sdb. I ...
0
votes
1answer
25 views

Cannot list and access my disk after cryptsetup command

I just tried to encrypt the new 2 TB disk I just received. Unfortunately I unplugged it (external disk on a USB port) just after running a cryptsetup command and now I cannot even list it with fd or ...
0
votes
0answers
32 views

High iowait under daily activities on a desktop, jbd2/sda5-8 cpu problem

Whenever i do some activity (start web browser or sometimes even just move a mouse), i get high disk activity (by sound) and iowait goes through the roof. E.g. starting chrome or firefox freezes mouse....
0
votes
1answer
104 views

How to repair invalid disk (bad superblock on /dev/sda)?

I'm having a big issue here and I can't access or mount my HD. First, I will explain what happened. I have a notebook with a 240GB SSD where are stored two operational systems (Windows 10 and Linux ...
-1
votes
1answer
31 views

Does the processor, disk and internal bus on my computer operate fast enough to send data from a disk file at 10 gigabits per second?

I would like to know if the processor, disk and internal bus on my computer operate fast enough to send data from a disk file at 10 gigabits per second? % cat /proc/cpuinfo processor : 0 vendor_id ...
4
votes
2answers
243 views

File Corruption between 2 HDD

I have a NAS running Ubuntu 16.04 LTS server i386 (kernel 4.4.211-0404211-generic). I use it with samba to share movies and music through my home network. I've tried to copy ~ 100 Go of data from an ...
3
votes
1answer
17 views

Find out what is mounting my external HD and change ownership?

OS: Linux Mint 18.3. I have an NTFS-formatted external HD which just gets automounted when I boot up. I'm just trying to find out what actually does that, and whether it's possible to set the ...
0
votes
0answers
24 views

How to get info on disk drives with powershell

Is it not possible to install Get-Disk on Linux? PS /home/thufir/powershell> PS /home/thufir/powershell> Get-Module -ListAvailable Directory: /home/thufir/.local/share/powershell/Modules ...
0
votes
0answers
31 views

Centos 7. I want turn my extra internal disk OFF, and make sure they only ON - when I need it

It's look like i have zero control on my machine. i want my disk go to sleep. ( i have several ). i go to DISKS ( on my Centos 7 ). 1. UNMOUNT them. 2. Put them to sleep. but for some reason after ...
0
votes
1answer
42 views

Is Ubuntu deactivating connected but not mounted HDD?

I am currently working on a bash script which should mount a veracrypt encrypted hdd on sundays to run backups. Since I want to rotate between two different HDDs every week, I have to check whether /...
0
votes
1answer
151 views

How to check entire hard disk for errors and bad sectors

I may be misunderstanding some concepts here, but as far as I know there each disk has partition table etc. and acual partitions. I'm looking to test harddrive for bad sectors and errors. But tools I ...
0
votes
0answers
45 views

Recover data after cp command

So basically when I was choosing disk to which I want to copy my ISO file I've chosen sdb1 instead of sdc. Data on sdb1 was somehow overwritten and I can't recover it. Please help!
0
votes
1answer
30 views

Does a raw device need a file system?

In order to bypass the operating system cache when reading a file, I used O_DIRECT flag when calling open(). In Wikipedia it says that there is no difference between the two. Yet, does defining a HD (...
0
votes
1answer
45 views

How to format HDD which is using raid?

I have a laptop which raid has installed on it, and I have two devices sda & sdb for my storage unit and its raid, I want to completely format both the discs. I have come up with the following ...
0
votes
0answers
135 views

FAILED Result: hostbyte=DID_SOFT_ERROR driverbyte=DRIVER_OK

What does it mean DID_SOFT_ERROR? According to kernel source, it defined: #define DID_SOFT_ERROR 0x0b /* The low level driver just wish a retry */ https://github.com/torvalds/linux/blob/...
1
vote
2answers
94 views

Delete and modify not supported smb external drive (exfat)

I run SAMBA 4.9.5 on my raspberry pi 4 and share a folder on my external hard drive(exfat as fs). It worked all fine until I want to remotely delete or modify files on it. I cannot delete anything ...
2
votes
0answers
18 views

smartd, long tests, short tests and logs

Is there a way to tell smartd to say run smartd long test once a week, say Sunday and run small tests every half and hour or a hour, dunno what is good practise but going with this at the moment. I ...
0
votes
0answers
36 views

Sense Key : Aborted Command, Add. Sense: Nak received

When doing FIO test, I got: [sdb] FAILED Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE [sdb] Sense Key : Aborted Command [current] [descriptor] [sdb] Add. Sense: Nak received Does it mean the ...
0
votes
0answers
79 views

Standard way to check the hard drive temperature without installing additional packages

I want to check the temperature of my hard drive without installing hddtemp or smartctl. Is there a standard UNIX way to do this? For example, to check the CPU temperature one doesn't need to install ...
2
votes
1answer
54 views

How can I force Linux to not attempt *any* automatic reads to a physical hard disk?

I have a hard disk with an unfortunate unrecoverable sector in either the partition table or a superblock, which causes the disk firmware to lock up when that LBA is accessed. I'm interested in ...
0
votes
0answers
14 views

Old WDC hard drive WD2500YS geometry data needed

I have to replace a defective drive in a RAID. This is quite an old Western Digital Corporation drive and I don't know its geometry and even the exact size. I know that it is generally 250GB drive and ...
0
votes
1answer
33 views

du disk caching - why is this disk faster on one machine than another?

If I plug an external hard drive into a RasberryPi4, and run: time du -sh /mnt/disk/thisfolderis300gb.dir Then it takes about 6 minutes, all subsequent runs also take 6 minutes, But if I plug the ...
0
votes
0answers
28 views

can you allocate memory on disk for the life of a process?

How does Linux manage where on disk it will write? I know df gives the number of unused blocks, but how can I get the specific offsets of unused blocks. More generally, I am wondering if there is a ...
0
votes
0answers
27 views

Is it possible to extend my filesystem with a new Hard Drive [duplicate]

I currently have a ubuntu server running at home. For my initial setup, I used a 4TB NAS HDD and all my file were on it. Now, the drive is full so I just bought a new 4TB HDD to add some storage ...
1
vote
1answer
27 views

Get rid of un-realizable space in hard disk Linux [duplicate]

When the disk utilization is checked I get /dev/vdb2 partition is more than 70% full. This is a partition with total space 84GB and 56GB already used. # df -h Filesystem Size Used Avail Use% ...

1
2 3 4 5
22