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

learn more… | top users | synonyms

0
votes
3answers
66 views

How to get the Serial Number of a disk by corresponding file in linux?

I know that for a disk in linux, we can use commands such as hdparm or smartctl to get its basic information. But for the implementation of these commands, I think all of them are implemented by ...
0
votes
1answer
38 views

inconsistency between format and probe-scsi-all outputs

my platform: SPARC T4-1 Generic_150400-24 sun4v sparc sun4v 1 of the disk is seems different in the output of format when I am on console cli even though relevant disk seems same as others in the ...
1
vote
2answers
6k views

Stat disk drives wihout lsblk?

I have a minimalist busybox system that I was recently trying to use, and I found a small problem: it has no lsblk command. Is there another command to list disks, partitions, and sizes like lsblk? ...
0
votes
0answers
113 views

how can I see the uuid of a disk in my system WHEN IS NOT LISTED IN /dev/disk/by-uuid

I have a problem in my system, that I don't understand: there are no disks UUIDs, only partitions UUIDs: ls -al /dev/disk/by-uuid/ total 0 drwxrwxrwx 2 root root 140 Nov 21 20:36 ./ drwxrwxrwx 5 root ...
2
votes
3answers
42 views

Hot Removed SATA drive mount remains

After removing a bay mounted SATA connected drive the kernel will most of the time remove the mount. However, sometimes the mount remains even though the disk has been removed. Is there a way to avoid ...
4
votes
2answers
5k views

recovering ext4 partition after dd'ing over start of HD

I accidentally used dd and wrote over the first 208MB of my external disk. What I wrote over is a partition on its own (Debian nestinstaller) so what I see now is not my old (now damaged) ext4 ...
3
votes
3answers
198 views

how to find the MAX IO a physical disk can support

how to find the MAX IO a physical disk can support? my application id doing IO, i can find the io-disk (Blk_wrtn/s) by using linux commands. but how can i find what is max limit i can reach, i want ...
0
votes
0answers
26 views

SSD as write target during reads

I have a real-time application which always writes data to a RAID 10 HDD configuration in a sequential manner at around ~50 MB/s. It uses mmap and writing should never be blocked due to waiting I/O. ...
2
votes
1answer
23 views

issue in user Quota creation

I am trying to create a users quota in RHEL-7 with xfs file system. But I am not able do it. The procedure that I followed is as below :- 1) edit /etc/fstab/ /dev/mapper/rhel-root / xfs ...
2
votes
3answers
71 views

How do I mount an image

I am trying to mount a disk image (consisting of MBR, fat, ext4 partitions) so I can modify the layout using gparted. (I am trying to move the partition to a 4M boundary.) I have tried sudo mount img ...
1
vote
2answers
28 views

which unix commands for monitoring disk operating are available?

To do some tests on SSD disk, I need to monitor operations such as number of reads and writes, access timestamp, which address accessed, write policy and so on. I know there is these commands: $ ...
2
votes
2answers
544 views

Parallel vs Distributed vs Traditional File system

I am trying to understand the differences between these three file system at a very basic level. Distributed FS: HDFS Parallel FS : Lustre Traditional FS : ext4/ext3/ NTFS/FAT etc. I want to ...
1
vote
0answers
27 views

GNOME Disks Sample Size

I'm trying to use GNOME Disks to test my disk performance and, according to my previous experience, I'd like to set the sample size to 8K, 16K and 32K. However, I see the minimal sample size in its ...
2
votes
0answers
270 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 using iostat and vmstat command. But I do not understand how the ...
1
vote
2answers
136 views

How to get disk name that contains a specific partition

If I know that a partition is for example /dev/sda1 how can I get the disk name (/dev/sda in this case) that contains the partition ? The output should be only a path to disk (like /dev/sda). It ...
0
votes
0answers
44 views

How do I interpret GNOME Disks' benchmark results?

Having ordered a new USB drive for my parents, I decided to use the Benchmark option in GNOME Disks. The results were interesting: A third run with a sample size (odd phrasing!) of 100 MB gave ...
0
votes
1answer
11 views

Are there any caveats when restoring a backup to a larger disk than the original disk with Clonezilla?

I have a Clonezilla image of a 250 GB disk. Are there any caveats or downsides if I would restore this to a 500 GB disk? (I will of course not be able to use more than the 250 GB on the new disk, but ...
4
votes
3answers
12k views

Can I create a software RAID 1 with one device

I have a single disk that I want to create a Mirror of, Lets call this disk sda I have just bought another identicle size disk, which we can call sdb. sda and sdb have one partition called sda1 and ...
0
votes
1answer
103 views

How can I zero the unused blocks on my filesystem in order to minimize the compressed disk image size? [duplicate]

If I dd my disk and compress the image with lzma or lzo the image is still big. The partition is 10GB used, 90GB available. But the image still around 20GB. I believe that is because I have copied ...
0
votes
3answers
69 views

How to check disks at startup (alternative to chkdsk c: /f on Windows)

How to check my 2 disks at startup (they're in BIOS RAID1)? I am on Mint 17.2. computer user # blkid /dev/sda1: UUID="6042-870C" TYPE="vfat" /dev/sda2: UUID="2ef42e6f-4987-46e5-aca9-872fd70a9f9e" ...
0
votes
2answers
171 views

Debian Linux root disk getting full, need to transfer /var folder to another disk

One of the disks got out of space, however other disk is nearly empty. Need suggestions how to transfer biggest folder(/var) to the other disk and mount at /var. For now /var folder was in / ...
1
vote
0answers
21 views

corrupted sd card [closed]

I found out that my micro sdhc card (Kingston 32 GB micro sdhc class 10) stopped working properly. The SD card should have 32 GB but it reports 2TB. The issue seams to be in messed up number of ...
2
votes
0answers
99 views

LVM partition not mounting

There was a drive failure on a disk in a RAID1 configuration. I removed the bad disk and reconfigured the RAID1 to only use the good disk. When I reboot the machine there are missing LVM partitions. ...
1
vote
0answers
54 views

sysv and unknown partition table?

We have disk about 1985, It has a Unix.But we didn't know type of Unix.I did the following step : dd if=/dev/sdc of./all_of_disk.iso #sdc is the given disk Then : hexdump -C all_of_disk.iso > ...
21
votes
8answers
37k views

How to determine which sd* is usb? [duplicate]

Possible Duplicate: How to know if /dev/sdX is a connected USB or HDD? The output of ls /dev/sd* on my system is - sda sda1 sda2 sda3 sda4 sda5 sda6 sda7 sdb sdc sdc1 sdc2 ...
3
votes
1answer
5k 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
1answer
43 views

Wipe a Solaris Disk

Looking for something similar to Eraser for Solaris 9-10-11 Anything?
0
votes
1answer
40 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
81 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
32 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
212 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
66 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 ...
2
votes
2answers
321 views

Keeping disk caches when hibernating

Is there a way to keep disk caches when hibernating Linux? I understand and agree that dropping them is the best option all-around. But my system is unresponsive after resume and I would like to give ...
-2
votes
1answer
31 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
78 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 ...
4
votes
2answers
189 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 ...
2
votes
2answers
336 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 ...
104
votes
8answers
222k 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 ...
12
votes
3answers
4k 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
58 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
55 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
69 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
133 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
445 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
142 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
120 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
2k 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
557 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
3k 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 ...
0
votes
0answers
194 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 ...