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
19 views

freebsd10 disc cloning

I have a FreeBSD 10.1 computer whose disc is failing. I've tried to use Clonezilla, and dd with no results.My syntax with dd was dd if=/dev/hda of=/dev/hdb bs=1M (I used dd on systemrescue). The ...
0
votes
2answers
107 views

How to properly mount new hdd, to free up the old one

I installed a new hdd /dev/sdb1, and mounted to /home/ubuntu/new1, and moved some files there to free up the old hdd, but when I do du -h new1 is still takes space in the old hdd, below are my fstab ...
1
vote
2answers
3k views

How can I mount a drive under my home directory at boot?

In my current setup, I have a RAID0 array of 2x3TB HDDs with btrfs, two partitions: / /home Under the /home directory, there are two users, both admin, one of which is myself. So far, this setup ...
1
vote
0answers
184 views

/dev/disk/by-id creating wrong symlinks for harddrive

I'm running into an interesting problem where on reboots and power cycles, my harddrives will occasionally be given the wrong symlink in /dev/disk/by-id. For example, when I issue ls /dev/disk/by-id I ...
1
vote
1answer
132 views

1kb partition: is it a problem, can it be removed?

I have a 1KB partition on my drive, sda4. Here is the output of lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 698.7G 0 disk ├─sda1 8:1 0 500M 0 part /boot ├─sda2 8:2 ...
3
votes
2answers
2k views

Transforming a disk from MBR to GPT

I have a disk with classic MBR and want to transform it to use GPT without data loss. I have seen several more or less useful tutorials, but most of them are dealing with the specific problems related ...
0
votes
1answer
2k views

LVM volume corrupted, can't be mounted after reboot

I created a LVM volume using this guide I have 2x2TB HDDs for a total of 4TB (or 3.64TB usable). I created the volume and rebooted. Everything was working fine. Then I copied 1.6TB of data on the ...
2
votes
1answer
100 views

stop an external hard disk from being in group floppy

I have an external hard-disk, connected by usb. Because it is external, the /dev file for it is in group floppy. However I use it as if it is internal. I also sometimes format sd cards and other usb ...
3
votes
0answers
108 views

Hard Drive reporting all 1's after parted

So I have a 3TB hard drive /dev/sdc that I am trying to create a partition on. Before this point, I had the issues described below, I transfered the drive to a Windows 7 computer and created a GPT on ...
2
votes
2answers
767 views

Can we add home partition by adding an additional hard disk?

I have installed CentOS 6 and I have configured it as a mail server. All user data is stored in the /home directory now, but it is running out of space. By adding extra hard drive can I increase the ...
1
vote
2answers
2k views

Use MegaCLI to add a new hard disk to existing RAID0 in Linux

There are two hard disks on my machine, but after installing the operating system, it uses only one hard disk to build RAID0. After installing MegaCLI, I used: MegaCli64 -pdlist -aALL to display ...
2
votes
2answers
858 views

where is the second hard disk in my CentOS?

yesterday I installed CentOS on my machine.There are two hard disk(SCSI) in my machine,but after installing,I used "fdisk -l"command to check disks only find one disk has been mounted.I also have ...
1
vote
1answer
219 views

Debugging an external HDD

I'm using an external HDD which is my old laptop's HD with 2.5 SATA enclosure. I tried to delete a partition in Windows and stopped it unknowingly. When I reinsert it, my OS including Ubuntu freezes ...
1
vote
1answer
3k views

Is partition table type “loop” a good or bad idea on BTRFS?

I have started to convert my disks to btrfs and following tutorials, most of them created the filesystem directly on the device instead on a partition. The file system is working and stores data but ...
2
votes
1answer
186 views

Auto mount and dismount USB harddrive debian server

I've read a few articles on how to automount USB devices with usbmount. I was just wondering about the following: the documentation states that when the USB device is removed it will automatically ...
3
votes
0answers
142 views

adding encrypted /home in LVM/LUKS

I installed a new (debian) system to an SSD device. After standard install I want to mount /home on the internal HDD. To be able to ask the question, some details: On install I (manually) generated ...
1
vote
0answers
63 views

4k mode hard disk partition

I am trying to create a 256 MB primary partition for my 320 Gig hdd using fdisk. Since, the drive support 4k I wanted to try the emulation mode. so, for 256 Mb of 512 K blocks leads me with below ...
1
vote
3answers
205 views

Can I backup a 1TB drive onto a 750GB drive?

I want to backup a larger harddrive (1000GB), but sadly, I only have a smaller harddrive (750GB) available. In this particular case, I do not want to copy over the files, I want to backup the ...
1
vote
1answer
302 views

How do I immediately put a drive to sleep (without changing its power setting configuration)?

Within GNOME's "Disks" utility there is the option to immediately put a drive into sleep / standby, which spins down the platters. I would like to do this on my servers before pulling hot-swap drives ...
4
votes
1answer
310 views

Approximate partition table backup with sfdisk

I wanted to convert some logical partitions to extended ones, so I was following this accepted answer. However, at the step of backing up my current partition table, I messed up and typed the ...
0
votes
0answers
224 views

Ext3 file system became read-only and server reboots spontaneoulsy

We noticed ext3 file system in our CentOS 4.9 server became read-only. We got the following error in dmesg: EXT3-fs: INFO: recovery required on readonly filesystem. EXT3-fs: write access will ...
2
votes
1answer
143 views

Hard Drive health check

In a previous thread the answer # smartctl -a /dev/sda looks good. The problem by my side is the highly verbose output. Is possible to obtain something more human understadable, something like "hard ...
1
vote
2answers
500 views

Spanning RAID over SSD and Mechanical HD

Currently I have my root (/) directory on my ssd, and my home directory on my mechanical drive. Wanting to utilize more of the ssd and hopefully get a speed benefit, I was considering spanning across ...
3
votes
1answer
654 views

View physical location of a file/directory on a hard disk

Is there any Linux program which offers the same (or some of the) functionality of Sysinternals DiskView, especially being able to view to physical location of a file on a hard disk? DiskView URL: ...
2
votes
2answers
287 views

Does `/proc/partitions` and/or `fdisk -l /dev/sdX` provide me a reliable device size?

I have two 3TB disks, which I hope to be exactly the same size. This means that I can use dd to copy them without being short or in excess of some bytes. Therefore I tried to find out the ...
2
votes
2answers
1k views

Unable to mount location after installing Linux Mint

I have been using Ubuntu for a while, but I decided to move to Linux Mint. I removed everything and clearly installed it. After the installation there are two parts which are File System and Toshiba. ...
0
votes
1answer
163 views

How to open root directory on second HDD?

My situation is very specific. I've applied chmod -R 777 / on my CentOS 7 server, so my system screwed up on next reboot. I took server HDD home and connected it via SATA cable to my home PC. Now I've ...
0
votes
3answers
3k views

How to combine multiple HDDs into one big HDD in Linux?

I'm very new to Linux, being mainly a Windows 7 user, so I may not understand Linux-specific commands without explanation. I've decided to build a NAS running some form of Linux (probably FreeBSD or ...
0
votes
1answer
415 views

External Hard Drive Issue on mac

After the cd /Volumes command when I type ls it shows me my hard drive name twice, with different permissions. After that when I try to use mkdir to create a directory in the external hard drive I'm ...
33
votes
3answers
119k views

How to “List Disk” in Linux

In Windows, all you have to type is "List Disk" using DisPart in a command prompt and it'll list all physical storage devices available, their size, format, etc. How do I do this in Linux?
2
votes
3answers
624 views

How to write a pattern to a device to use it with badblocks with -t test_pattern option

I recently bought a 4TB hard disk and I want to do a read-write badblocks test on this before I start using it. Since running badblocks with -w option would take ages for 4TB, I've thought to first ...
0
votes
0answers
59 views

Should I use the discard flag when configuring the filesystem to be installed over the partitions on my SSHD?

I've recently bought a laptop with an SSHD. My guess is that most SSHDs are self-optimised, so the disk itself will handle wear-levelling issues, and I won't need to add the "discard" flag when ...
3
votes
1answer
8k views

How to Mount a Drive with Right Filesystem?

I am trying to mount the device /dev/xvdc on my CentOS system. When I run an fdisk command I get: Device Boot Start End Blocks Id System /dev/xvda1 * 1 33 ...
0
votes
1answer
67 views

Comparing Windows and Linux machine hardware

I have to compare Linux and Windows machine hardware? In windows system, I can open the My computer properties and see the details like processors, RAM Hard disks etc. Through task manager, I can see ...
0
votes
1answer
2k views

How to install Linux Mint 17 on SSD and have Home on HDD

I have Sony Vaio VGN-NW23NE Laptop and I'm using Linux Mint as my Operating System for about two years, I've currently Qiana. I bought a new 120 GB SSD to speed up my Laptop, but I'm confused about ...
7
votes
2answers
12k views

Getting the extra GPT info; a “fdisk -l” equivalent

What is the equivalent for GPT using HDDs of: # fdisk -l /dev/hda > /mnt/sda1/hda_fdisk.info I got this from https://wiki.archlinux.org/index.php/disk_cloning (under "Create disk image") for ...
0
votes
1answer
1k views

NTFS drive not mounting in Debian

This drive has been working fine for a while, but I recall having had some slight trouble getting it mounted in the past. Anyway, it was disconnected from the machine for some time and when I ...
1
vote
1answer
53 views

How are files or chunks delimited on disk?

I'm trying to recover some lost files by grep-scanning a hard disk. (The OS is Darwin 11.4.2. The file system is HFS.) How can I determine where a file (or contiguous chunk thereof) begins and ends ...
3
votes
3answers
667 views

equivalent of `grep -a /dev/sda1` on Darwin?

I want to run something like % sudo grep -i -a 'some-string' <drive device> On Linux, <drive device> would be something like /dev/sda1. How can I find the equivalent on Darwin? (In ...
2
votes
2answers
292 views

Is reading a file on UNIX faster than writing a file?

Sorry for the sheer simplicity of this question. A rather obtuse performance bottleneck has boiled down to this very small query. I have done some empirical analysis and I think I might be getting ...
2
votes
1answer
2k views

Hard Drive Crash / Gparted Error or Something Else

Well, I had my hard drive crashed some weeks ago. My Ubuntu (14.04) automagically froze and after the moment I pressed the restart button, and it prompted me with busybox prompt. I tried booting with ...
0
votes
3answers
8k views

dd write vs read performance

I have recently done some performance tests on a new server (using dd) and wonder why read performance is so much worse than write performance? Shouldn't it be another way around? file size was in ...
1
vote
1answer
151 views

Can I split a disk image and run Photorec on each part individually?

I'm running Photorec on an external HD connected via USB and it's taking too long, with the estimated remaining time constantly increasing. Is there a way to create a disk image from that external ...
0
votes
1answer
118 views

Point folder on main HDD to newly mounted 2nd HDD

What is the best way to point a folder in one of my websites directory to a folder in a second HDD I just had installed? I see things about fstab and symlink but am lost at what is the best way to do ...
3
votes
2answers
311 views

Can I partition around a bad block on a harddrive?

I used a computer too much, running a script for many weeks. Eventually, Debian printed a thousand errors and shutdown, and won't start again. When I ran DBAN on the drive, to write 0's to the disk ...
4
votes
1answer
600 views

Partially overwrote /dev/sda, can I recover anything?

I was messing around with my new hard drive, which only contains some personal files, and to check its write speed, I typed: sudo dd if=/dev/zero of=/dev/sda, /dev/sda/ being the new 2 TB connected to ...
1
vote
0answers
81 views

How can I unveal files on my external hard drive?

I copied a big folder (around 110 GB) from my (Mac 10.7.5) computer onto a hard drive (exFAT). It took quite some time and afterwards I even checked that the files were actually there. After more ...
0
votes
1answer
94 views

Recovering a (not yet created) RAID5 with URE (Unrecoverable read errors)

I wan't to create a RAID5 array at home, the OS is Linux (Kernel 3.15.7) and the array will be created with mdadm. I wan't to create the array with eigth or ten 1TB discs. Let's assume a single drive ...
0
votes
1answer
50 views

How to use a USB device instead of a hard drive

Recently I setup a webcam that uses ftp, which uploads the current frame every 0.33 seconds. This creates thousands of images on my hard drives. I have a daily cron job deleting anything past 10 days ...
1
vote
1answer
138 views

How to decrease the time the processes would wait (blocked) for disk reads (only to discover an error)?

Waiting too long when encountering an unreadable sector on a disk is really very annoying. (Especially if you are trying to read as much data as can be read from a disk with bad sectors, and do it ...