Questions about disk drives under the UNIX and Linux systems. See also the "filesystems" tag.

learn more… | top users | synonyms

0
votes
1answer
1k views

“Spare” disk in a 2-disk mdadm RAID1 array?

I recently had a RAID1 volume fail. It had three primary partitions in it, all participating in separate, but similarly configured VGs. This configuration comes from the fact that the machine is ...
1
vote
1answer
559 views

Problem creating raw disk image and mounting it in rescue mode to QEMU

I am trying to create booting system from raw disk image. This is what I do: $ dd if=/dev/zero of=system2.img bs=1M count=6000 6000+0 records in 6000+0 records out 6291456000 bytes (6.3 GB) copied, ...
12
votes
3answers
3k views

How to get total number of bytes/sectors/blocks written to disk since booting?

I'm considering and update from HDD to SSD. But since Flash cells can only sustain limited writes. I want to know how much data my computer write during normal operation. So I can determine how long ...
0
votes
0answers
41 views

CloneZilla, does exist a simpler method?

While browsing the web for backing up my disk, I often see CloneZilla in the results. As a beginner with Linux, the process seems tricky to me (Live USB, etc). Note: I plan to back up my whole disk ...
0
votes
0answers
11 views

How do I identify which disk(s) make up a vxfs disk group?

In case it matters, system in question is Solaris installed on SPARC. System contains two HDDs, same make/model/capacity. On one HDD are the root and var partitions/slices. /etc/mnttab shows me that ...
1
vote
1answer
506 views

CentOS 5 - hdparm - how to set DMA mode

I'm running CentOS 5 with a PATA hard drive. I've used hdparm to tune the hard disk for better performance, but there are 2 settings that don't work: hdparm -M 254 /dev/hda gives the error ...
1
vote
0answers
16 views

List partition type GUID's for all disks from command line?

I need to list the partition type GUID's from the command line. Note: This is not the same as the partition UUID. Basically I'm needing to search for all disks that have the Ceph OSD type GUID: ...
1
vote
0answers
38 views

Disk configuration options, what can affect performance

I have 2 disks, the same model and vendor, first one , probably performs faster. We do write into multiple files. Can you compare 2 configurations and tell what can affect performance? 1. (faster) ...
1
vote
1answer
32 views

Access Macintosh HD from Ubuntu - Permission denied

I've followed this instructions and now I'm able to access my Machintosh HD from Ubuntu, the problem is that I can't access the folder I need (example Desktop), it say that I haven't enough ...
0
votes
1answer
28 views

LinuxMint “File System” shows no space when many GB exist

I have a VM running LinuxMint 17.1. I just resized the virtual disk, then used a live CD to resize the system partitions. I now have 18GB+ free. However, when I look in Files, "File System" shows as ...
0
votes
1answer
31 views

how to fetch SMART attributes in SSD?

I have a SAS SSD and I want to know few things like "Perc_Lifetime_Remain", etc. In the exisiting SATA SSD drive, we are fetching these info by using smartctl tool ("smartctl -A diskname"). But the ...
0
votes
1answer
71 views

“fdisk -l” output: what are Disk label type“ and ”Disk identifier"

fdisk -l output: . . Disk label type: dos Disk identifier: 0x0006a8bd . . what are Disk label type" and "Disk identifier" Also, apart from the manuals, where else can I find more information ...
10
votes
2answers
291 views

Unable to copy large file onto ext2 usb stick [closed]

I have an 8G usb stick (I'm on linux Mint), and I'm trying to copy a 5.4G file into it, but getting No space left on device The filesize of the copied file before failing is always 3.6G An output ...
2
votes
5answers
2k views

full rootfs on big hardisk, installation or update software not possible

Has anyone seen this issue that can help me solve it? I have got a preinstalled server (Debian GNU/Linux 7.6 (wheezy)), where the disk space was partitioned very badly... :-( The Hardisk is very big ...
1
vote
0answers
39 views

While executing vgdisplay gives below errors [closed]

/dev/mapper/mpathcq: read failed after 0 of 4096 at 107374116864: Input/output error /dev/mapper/mpathcq: read failed after 0 of 4096 at 107374174208: Input/output error /dev/mapper/mpathcq: read ...
0
votes
0answers
47 views

/proc/diskstats and iostat are right? strange values on my test

My question is quite simple.. I am doing some tests to confirm the perfect work of both (diskstats and iostat) disk meters and something is wrong here. I write this command on cmd and I get the ...
0
votes
1answer
21 views

What are the commands to discover lun disks [closed]

What are the commands to discover LUN disks in linux and esxi?
1
vote
1answer
43 views

Remove all traces of GPT disk label

I've got an USB pen drive and I'd like to turn it into a bootable MBR device. However, at some point in its history, that device had a GPT on it, and I can't seem to get rid of that. Even after I ran ...
2
votes
1answer
66 views

how to check default cache mode for disk in kvm

KVM/qemu support various types of cache - none, writethrough, writeback. How to check which one is default and is used on system when no cache= is specified? For RHEL6 i found that it's writethrough ...
0
votes
2answers
31 views

3tb external hard disk on 32 bit system

i have a 3tb hard disk with an external docking station that i can not use on my (old 265 mb) windows xp pc, because the pc is only 32 bit. I plan to use a usb2 flash drive to boot into linux (e.g. ...
0
votes
0answers
18 views

Add Disk Google Cloud

Sorry by my english. I have this situation: 1.create a instance, in google, this load with 10GB. 2.add (in google cloud) a disk persistent with 200Gb I need save all my websites in the disk ...
0
votes
2answers
47 views

Debian : Mounting a raid array

I have a Debian system on which we migrated to a SSD for faster execution. Before that we had a 2.0Tb hard disks in RAID. Now we want to use the RAID drives to perform storage generated by the ...
1
vote
0answers
41 views

How can I get read/write instant speed of a Hard Drive using /proc/diskstats data?

I know that the proc/diskstats file presents these data columns: 1 - major number 2 - minor mumber 3 - device name 4 - reads completed successfully 5 - reads merged 6 - sectors read 7 - time spent ...
0
votes
1answer
28 views

Increase disk space without losing any data

I have a server running webmin/virtualmin in debian 7 with one 80GB hard drive. I want to increase disk space adding a second 1TB disk, but without losing any data as I'm hosting a few websites. Any ...
62
votes
8answers
132k views

How can I monitor disk io?

I'd like to do some general disk io monitoring on a debian linux server. What are the tools I should know about that monitor disk io so I can see if a disk's performance is maxed out or spikes at ...
0
votes
2answers
68 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
3k views

Mounting another VM's .vdi in VirtualBox

I have two VMs in VirtualBox. For exmaple, VM 1 runs Red Hat, and VM 2 runs Ubuntu. For the Red Hat VM I have redhat.vdi and redhat2.vdi, and for the Ubuntu VM I have ubuntu.vdi and unbuntu2.vdi. ...
1
vote
1answer
38 views

Disk numbering a drive then mounting in solaris 10

I've a rescued sun v240 (2x 73Gb scsi drives). Trying my best to get onto the Solaris 10 OS. Managed to get via console lead and putty on windows machine . Managed to get cdrom-s single user (used ...
3
votes
2answers
55 views

How to determine whether the data is written to disk or cached?

I'm learning file operation calls under Linux. The read() and write() and many other functions use cache to increase performance, and I know fsync() can transfer data from cache to disk device. ...
31
votes
10answers
45k views

List partition labels from the command line

Is there a command that will list all partitions along with their labels? sudo fdisk -l and sudo parted -l don't show labels by default. EDIT: (as per comment below) I'm talking about ext2 labels - ...
0
votes
0answers
58 views

How do I decrypt this hard drive?

In 2011 I installed Ubuntu server edition on an old Dell that I had laying around. During the install process I was using the gui installer and opted to set disk encryption on the disk drive. During ...
1
vote
1answer
77 views

Recognizing GPT partition table created with different logical sector size

I have a 3TB drive which I have partitioned using GPT: $ sudo sgdisk -p /dev/sdg Disk /dev/sdg: 5860533168 sectors, 2.7 TiB Logical sector size: 512 bytes Disk identifier (GUID): ...
2
votes
3answers
2k views

Using SAR to monitor free disk space data

Is there a way to make sar (from sysstat) collect free disk space data?
0
votes
0answers
23 views

How to prepare for a possible unreadable disk from bios after swapping disks?

How to prepare for a possible unreadable disk from bios after swapping disks? I want to switch out my old disk with my working linux mint 16 os and plug in a new disk and install linux mint 17. I am ...
8
votes
1answer
675 views

reference whole disk (/dev/sda) using UUID

On my system (Debian), I can see the UUID identifier for all of my disks partitions (i.e. /dev/sda1, dev/sda2, ..) ls /dev/disk/by-uuid/ However, I don't see the UUID identifier for /dev/sda ...
1
vote
1answer
65 views

Very slow file operation

I recently rebuild a machine with Centos 5.8 with a brand new disk. This machine is old and has been running 5.8 for a long period with no issues so the only thing which changed recently is the new ...
1
vote
0answers
65 views

Flash memory and set to read only , Is it virus?

Becuase some of limitation of MS.Windows, my friends and my family gime their flash memory to solve their problem. Such as format, partitioning in Linux with the cfidsk ,parted, sfidsk(dump and ...
0
votes
0answers
95 views

Syncing an iPod classic with Rhythmbox, but it is read-only

I have an old iPod classic (2006 model, I believe) and I recently built my own computer, thus transitioning away from my old iMac and moving onto my own Fedora 21 desktop. Despite my negative opinion ...
2
votes
0answers
64 views

View syscalls/kernel activity for I/O from a running process

I'd like to be able to view syscalls or kernel activity for a process...I'm not actually sure of the terminology I need here! Specifically I'm looking for the difference between I/O going to local ...
0
votes
0answers
47 views

Separating SAS from SATA drives

I have to list all SAS drives and separately list all SATA drives, I'm working on CentOS6 and tried lots of commands which will give some specific information about bus of disks. Let me show you ...
3
votes
2answers
410 views

Replace both disks in a raid 1 mirror

I have a 3 years old server with two same disks. I'm planning to replace both before they fails. Can I add two more new disks to the raid and (after it has been rebuild) eventually remove the two old ...
4
votes
2answers
747 views

Eject / safely remove vs umount

I'm using Ubuntu 12.04, and when I rigth click on a my flash drive icon (in the Unity right bar) I get two options that have me confused: eject and safely remove. The closer I came to answer was this ...
0
votes
1answer
383 views

In smartctl output, what does LifeTime(hours) mean?

Specifically, in smartctl output, how is LifeTime(hours) calculated? I'm assuming it's one of the following: The difference (in hours) between the time of the test and the manufacture date of the ...
0
votes
0answers
49 views

Any tool or command can detect flash disk or SSD memory type?

Here I mean "SLC" or "MLC", basically, how many bits per cell for the NAND memory. Is there anything we can get? Thanks.
2
votes
1answer
250 views

how to read any process' /proc/pid/io

I'm trying to monitor disk activity of each process. One way that I found how to do this is to read /proc/pid/io file and compare fields with previous read. That works fine except my monitoring ...
0
votes
0answers
31 views

Why does reading from a symlink to network location cause local disk activity?

I am running RHEL 6.4 and have a symbolic link in my home directory to a large file stored elsewhere on a network. My home directory is a network location as well. I've noticed that when I run a ...
4
votes
1answer
435 views

How to find out which file is affected by a bad sector?

Consider you've been informed about a bad sector like this: [48792.329933] Add. Sense: Unrecovered read error - auto reallocate failed [48792.329936] sd 0:0:0:0: [sda] CDB: [48792.329938] Read(10): ...
0
votes
4answers
859 views

Deleted files from home, deleted them from .local/share/Trash/files, System doesn't report back free space

I am running Crunchbang, a Debian variant with OpenBox WM. I have deleted a large number of files via browsing in thunar file manager and pressing del key. They disappear from view. I then go to ...
1
vote
0answers
53 views

Shared NTFS partition conflict, files written under Debian gone

I have a dual-boot W7-Debian Jessie on my laptop, and a NTFS partition initially left for sharing data between OS and keeping big files. With myself getting used to Linux, rebooting to windows became ...
7
votes
4answers
9k views

Is there a good drive torture test tool?

I have been having odd and rare filesystem corruption lately that I suspect is the fault of my SSD. I am looking for a good drive torture test tool. Something that can write to the whole disk, then ...