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).

learn more… | top users | synonyms (1)

0
votes
0answers
487 views

“Warning! Secondary partition overlaps the last partition by x blocks” in gdisk, is it safe to use gdisk here?

I'm trying to install convert my hard drive into GPT using gdisk, when I run sudo gdisk /deve/disk1s4 I get this: Warning! Secondary partition table overlaps the last partition by 2032668853 blocks! ...
12
votes
1answer
212 views

Disks (in usb enclosure) keep waking up even when not mounted

Setup I have USB enclosure (Buffalo DriveStation Quad) containing four drives connected to my nas server (ubuntu server 14.04). The enclosure is configured to JBOD mode, so I'll see all the disks in ...
1
vote
2answers
414 views

UEFI System. Are EFI settings kept on the HDD. What happens if I change HDD?

I have an UEFI system with Linux installed on it. Unfortunately I need to upgrade the BIOS firmware and after a month of failing with live CDs and Live DOSes and so on I have decided to buy a new hard ...
1
vote
2answers
99 views

Partition table-less HDD [duplicate]

Just this morning, I accidentally created a hdd filesystem without a partition table. I didn't even know it was possible but it happened. Now the issue is to undo it or leave it alone. For this ...
0
votes
0answers
98 views

HDD disconnects randomly

My internal Seagate Barracuda 7200.11 500GB randomly disappears. Sometimes, before the HDD gives up, I have enough time to move data to another HDD. Data does not seems to be corrupted. I checked it ...
1
vote
1answer
39 views

How to exclude a disk so that the OS will not use it?

We have an HDD that is probably having too much bad sectors. The notebook boots extremly slow from it. We put the disk in another notebook (good) via a CR-ROM HDD case. But now that good notebook ...
0
votes
1answer
99 views

Volume Group fails to recover

For the last 10 days I've been living a nightmare trying to recover my data. I'm trying to recover VG and mount it to access the data here's what I get [root@]# pvscan Found duplicate PV ...
2
votes
0answers
610 views

Exundelete can't restore the file

I'm trying to restore 2 important tar.gz files I know their directory but extundelete not restoring them although it's giving me the inode number. Loading filesystem metadata ... 2127 groups loaded. ...
10
votes
2answers
458 views

How can I partially copy a file from a broken disk?

I have a broken disk where I need to copy a 60G file from. From time to time the disk resets and I can't finish the copy. I would like to try and copy partial slices and put them all together. How ...
0
votes
2answers
149 views

Unable to mount Volume Group [closed]

2 drives connected externally to a new server both are merged using LVM as one drive. vgscan Reading all physical volumes. This may take a while... Found volume group "vol_grp1" using metadata type ...
0
votes
3answers
222 views

rsync partial LVM volume to Remote Directory

Can I rsync a full hdd partition (which is inaccessible) to a remote directory? Inaccessible means it cannot be mounted, it was part of LV volume merged with other HDD which is faulty and removed ...
0
votes
1answer
64 views

Hard Disk Clone Image Size

I've created an image backup for HDDA (partition) from HostA and saved on HostB ssh -c blowfish user@ip-or-hostname "dd if=/dev/sda1 | gzip -1 -" | dd of=sda1.gz conv=sync,noerror The HDD size is ...
0
votes
1answer
54 views

Disk ID in chroot / jail

When I print out all information about a disk /dev/sda on my host system, then I get this sort of information (I got this information with command udevadm info --query=all --name=/dev/sda): P: ...
0
votes
0answers
31 views

One disk in RAID setup high usage

I have a system here with 6 disks all same make and model, and on that I have 3 partitions. / RAID 6 /var/log RAID 6 /storage RAID 5 on / I created a swap file instead of partition. With ...
2
votes
0answers
60 views

recover lvm formatted partition

I had 2 old drives having LVM installed showing as 1 drive. They were attached by the datacenter to the new server to migrate data but they weren't able to be mounted I tried everything possible until ...
2
votes
0answers
158 views

Mount LVM volume as external usb drive? CentOS 6

I'm trying to mount my old 2x500GB drives to the new server which has the same drive volume. Both have LVM structure but it's not working. root@server [/mnt/usb]# ls /dev/sd* /dev/sda /dev/sda2 ...
0
votes
2answers
49 views

CentOS 6 Partitioning Root Drive

I have recently installed CentOS (into a machine with only one hard drive) and I would like to know how to Partition the main hard drive into two. As it is a fresh install there is no data to lose ...
0
votes
1answer
66 views

Linux Hard Drive Partitioning

I've decided to do a fresh Linux CentOS 6 install onto a small computer which I intend to use as a basic server. The OS has been installed and I would like to partition the 31gig sda drive (there is ...
0
votes
1answer
28 views

Purpose of each disk access and why it may not occur

I'm going over past papers for an exam I have and my university do not provide answers so that I can check them, please could you let me know if my understanding is correct and if not please could you ...
2
votes
2answers
448 views

Can't mount second hard drive on CentOS 6.6 - Duplicate VG name

Yesterday I add a SSD to my PC configuration and I make on it a fresh installation. At the moment of installation I replace my old HDD and there was only the SSD. When the installation finish I make a ...
8
votes
1answer
3k views

Docker says “no space left on device” but, system has plenty of space?

I'm trying to run a docker image that works on other systems (and you can even pull it from dockerhub, if you'd like: it's dougbtv/asterisk) however, on my general workstation, it's complaining about ...
1
vote
1answer
77 views

How can I choose optimal values for block size and blocks number for badblocks?

I'd like to test my hard disks with badblocks, but I don't know which values I should use for the block size (-b option) and blocks number (-c option). I randomly tried a few values and it seems they ...
0
votes
1answer
115 views

File system not detected after OS upgrade - how do I debug this?

I have a computer with two hard drives in it. One carries the OS and a whole bunch of other stuff; the other was mounted inside /media as a dump-space for an additional terabyte of storage space. ...
6
votes
2answers
3k views

SmartMonTools: How can I know if there is any smartctl test running on my hard disk?

I am testing a hard disk with SmartMonTools. Hard disk status prior to the testings (only one short test performed days ago): $ sudo smartctl -l selftest /dev/sda smartctl 6.2 2013-07-26 r3841 ...
0
votes
1answer
71 views

Problems with secondary hdd in grub

I had some problems installing Linux mint and or any other Linux distribution in combination with Windows. When I booted my machine it would hang before the grub bootloader showed up. Now i have some ...
0
votes
0answers
64 views

Can't read 2TB Hard Disk , don't exist dispositive

I have a new 2TB external USB HardDisk, and I can't open or format it. I'm gotting diferent kind of errors, for example: If i execute: sudo mount -a /dev/sdb sudo mount -a /dev/sdb1 The response ...
0
votes
2answers
68 views

nautilus doesn't display full disk space

Hello I am having an issue with Nautilus, it will not recover disk space. My home partiton is on /dev/sda2 and running fdisk returns Device Boot Start End Sectors Size Id Type ...
3
votes
1answer
4k views

Mount external hard drive automatically

I have an external hard drive (WB My Passport), connected via a USB port. My OS is Elementary OS Freya on a Dell Vostro 1510. Currently, in order to mount the drive, I have to open the file manager, ...
1
vote
1answer
35 views

Map Home to External Drive

Whereas I have my OS (in this case, Elementary OS Freya) installed on my non-partitioned internal hard drive, I have an external hard drive with /Documents, /Downloads, /Movies etc. where I store all ...
1
vote
1answer
55 views

I can read from hard disk, but I can't mount it read only

I have some problems with my hard disk - maybe it is broken, maybe the SATA cable is broken, I am just investigating it. One thing is strange. I can read raw data from this device using: # cat ...
0
votes
0answers
35 views

Hard disk power cable possibly slipped out during copying - now directories empty, error shows “dir: cannot access .: input/output error”

I am pretty sure the powercable to one of my harddisks fell out during copying. The result was two personal backup directories are now empty, but still extant, while the rest of the directories are ...
0
votes
2answers
101 views

Where are all the disks used?

This is almost a little embarrassing to ask, but I just can not figure this one out myself really. I'm trying to find out where the disks of my machine are used and if they are actually used at all. ...
2
votes
1answer
162 views

How to split file and save parts to multiple locations?

How do I split a large file into multiple smaller chunks and write each part of it into separate locations? split command seems to only output all the files into one location. The context I need to ...
1
vote
1answer
131 views

Simple way to keep hard disk alive on activity?

As hdparm does not work for my USB external drive (it spins down to early), I’d like to simulate standy-by control manually by a simple script with the following idea: monitor I/O to the disk when, ...
1
vote
2answers
266 views

Get all hardisk list (/dev/sd*)Using command line

I need to get all the hardisk connected to my PC like, /dev/sda /dev/sdb /dev/sdc later I have to use it in script and monitor using iostat I alrady found fdisk command, it seems to be hard ...
0
votes
1answer
653 views

Correct way to delete unnecessary files from /boot directory (Ubuntu)

Currently there is not enough space on by /boot partition/folder and the sofware update can not be performed. Question: how should I correctly free-up some space in that directory? Here is the ...
0
votes
1answer
44 views

How to image certain portions of hard drive only

I have a failed hard drive which I need to extract data from. My dd kung fu is failing me right now. I know that the drive is failing at sector 60515007 to 60517093 (512b per sector), and multiple ...
0
votes
2answers
2k views

“No volume groups found” after running vgdisplay

I am trying to expand my primary partition to use the extra disk space I have added in my VMWare virtual machine. I have been able to add the disk space, partition the extra space into an LVM ...
0
votes
0answers
15 views

Drive disappears once in a while

I have a NTFS drive mounted via fstab. now, over the last couple of days, I've seen that once in a while, the drive disappears. This generally happens when I'm using partition tools (resizing a ...
0
votes
3answers
205 views

What can I do to stress test a new USB harddrive?

I'm running ubuntu desktop 14.04. I bought a 2TB USB3 seagate harddrive, but after a week it started producing I/O errors and I was unable to recover any data (I lost quite a lot). So, now I have a ...
1
vote
1answer
310 views

How to create an /opt partition on an existing installation without loosing data?

I've shrinked my /home from 2.7TB to 100G, I've extended /root, /usr, /tmp and /var but I have been looking for a way to create an /opt partition for 3 hours now, and can't find it. The setup is 3TB ...
0
votes
0answers
41 views

External HDD unable to detect

External 1TB HDD having problem, when I connect it with my Linux System the system just hangs for few minutes with below output: [root@spirit sh]# fdisk -l Disk /dev/sdb: 500.1 GB, ...
1
vote
1answer
33 views

Storing documents and backups on several different drives

Currently I have Ubuntu installed on a 120GB SSD. However I also have 3 more hard drives installed on the computer, 2 x 640GB in aRAID array and a 60GB SSD. What I am trying to achieve is to use the ...
8
votes
5answers
1k views

Why specify block size when copying devices of a finite size?

In online tutorials it is often suggested to use the following command to copy a CDROM to an iso image: $ dd if=/dev/dvd of=foobar.iso bs=2048 Why must the byte size be specified? I notice that in ...
2
votes
1answer
49 views

Backup partition changed UUID without user interaction

I recently had to purchase a new hard drive. Since I was at it I bought two instead of one as they were on offer (both are the same model). Since there was a lot of space left on the second hard disk ...
0
votes
1answer
55 views

Unplug a new hard drive without umount?

Before I unplug a external hard drive with file systems, I use umount. But my new hard drive doesn't have anything on it yet. (no file systems). I connect it to my laptop using a sata-usb adapter. Is ...
1
vote
0answers
56 views

How to check a new hard drive?

I have a new SATA hard drive. I plug it to my SATA-USB adapter and then to my laptop. I found it by lshw *-scsi physical id: 2 bus info: usb@1:1.3.2 logical name: scsi10 ...
0
votes
0answers
46 views

What SMART attributes are common for HDD and SSD?

I wrote an application on my Linux machine with an HDD that detects these SMART values (Names are as written here) Re-allocated Sectors Count. Power-On-Hours. Command Timeout. Offline ...
0
votes
0answers
230 views

Why doesn't Red Hat detect hard drive on HP BL460C Gen 8?

EDIT: The server I am using is HP BL460C Gen 8 having real hardware RAID. I am trying to install Red Hat Enterprise x86_64 bit on an HP ProLiant (iLO 4) server with an Array of 2 hard drives ...
4
votes
3answers
70 views

Exchange data between two identical hard drives

I have two identical hard drives (same model) in my system. One is used for data which is not important (could be downloaded again but would take an eternity). The other is my system disk. Now my ...