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

learn more… | top users | synonyms

1
vote
2answers
38 views

How to get disk name that contain specific partition

If I know that partition is for example /dev/sda1 how can I get disk name (/dev/sda in this case) that contains the partition ? The output should be only path to disk (like /dev/sda). It shouldn't be ...
1
vote
1answer
30 views

How to get total Read and write IOPS in linux

How do i get Read and write IOPS separately in Linux? using command line or in a programmatic way. i am installed sysstat package. Please tel me how do i calculate separately using sysstat package ...
2
votes
0answers
34 views

Disk i/o latency using /proc/vmstat file

How do i calculate Disk read and write latency in Linux? Is it possible to do the calculation using /proc file system? I am used iostat and vmstat command. But i do not understand how the ...
2
votes
1answer
30 views

Wipe a Solaris Disk

Looking for something similar to Eraser for Solaris 9-10-11 Anything?
0
votes
1answer
19 views

Broken disk size after incomplete dd operation

Once I was writing an ISO image into my USB disk using dd, I mistakenly pulled it out, and now it has only 10 MB of size. The correct size is 32 GB. Note that this smaller size is for the whole USB ...
2
votes
1answer
39 views

EXT filesystem family: Why does the first superblock start at offset 1024?

I was brushing up and diving deeper into filesystem anatomy and in numerous resources it is said to be a requirement that the very first superblock start at an offset of 1024 bytes. I started looking ...
1
vote
0answers
28 views

Specific question about “/mnt”: /mnt is not showing the disk space [duplicate]

The disk space showing from "df -h" and "du -sch ./*" seems different for "/mnt". Can somebody help me in finding the probable reason? =============================== #df -h Filesystem ...
0
votes
1answer
18 views

How do I pass options to forcefsck?

I am trying to run a one time disk check at bootup by using /forcefsck but I would like to pass some of the FSCK options such as y, c, f, and v. I have tried inserting these in the file but I seems to ...
1
vote
2answers
46 views

The Deny the permission of mounting any drives to a user

I'm using Linux Mint 17.2 Cinnamon. There are multiple partitions on /dev/sda. /dev/sda1 is where the system resides, /dev/sda2, ..., /dev/sdaX are NTFS partitions. There are two users admin and ...
0
votes
0answers
69 views

Parallel vs Distributed vs Traditional File system

I am trying to understand the difference between these three file system at a very basic level. Distributed FS: HDFS Parallel FS : Lustre Tradational FS : ext4/ext3/ NTFS/FAT etc. I want to ...
-2
votes
1answer
23 views

Official resources about disc management on linux / distributions [closed]

My question is about official linux and common distributions (e.g. fedora/debian) on learning disk management in practice on linux / linux distributions. The layout, may be including the file system, ...
1
vote
1answer
28 views

Deleted boot partition accidentally with gpart

I just typed gpart delete -i 1 ada0 when I was supposed to write gpart delete -i 1 ada1 and unfortunately typed reboot before I noticed my mistake. The disk ada0 had the default GPT layout that ...
3
votes
2answers
48 views

how can I sync a specific device? [duplicate]

Is there a way to sync a specific device in Linux? This would be used to ensure that, e.g., writes to a USB thumb drive have taken place without waiting for queued writes from a video processing job ...
1
vote
2answers
103 views

How to construct a GPT-only partition table on Linux?

All of the tools I've tried until now were only capable to create a dual (GPT & MBR) partition table, where the first 4 of the GPT partitions were mirrored to a compatible MBR partition. This is ...
0
votes
0answers
49 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
22 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
0answers
26 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
59 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
95 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
45 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
43 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
323 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
352 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 ...
1
vote
0answers
89 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
96 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
34 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
123 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 ...
0
votes
2answers
40 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
21 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
72 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
74 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
41 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 ...
0
votes
2answers
82 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
102 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 ...
4
votes
2answers
76 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. ...
0
votes
0answers
81 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
100 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): ...
1
vote
1answer
50 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 ...
0
votes
0answers
29 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
934 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
94 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
82 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
112 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
72 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 ...
1
vote
0answers
73 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
517 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
1k 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
645 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
62 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
344 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 ...