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

learn more… | top users | synonyms

0
votes
1answer
73 views

Cant mount disks

I have a windows 8 ,ubuntu dual boot system. when i open kali . i cant see any of the hard disk partitions . i receive the following error message . Error mounting /dev/sda1 at /media/root/...
3
votes
1answer
95 views

Performance differences when writing into /dev/sda and into /mnt/sda/tempfile

I am testing my new PCI-E SSD in Linux. I am using the following command to test its performance (reference: https://www.thomas-krenn.com/en/wiki/Linux_I/O_Performance_Tests_using_dd) (1) dd if=/...
0
votes
3answers
73 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
44 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 ...
0
votes
0answers
119 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
43 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 ...
1
vote
1answer
614 views

WRITE SAME manually zero

With Debian 8 and VMware 6 I am seeing these logged quite a bit: WRITE SAME failed. Manually zeroing messages. Is this something to be concerned about? From searches, it seems its related to the 3.9 ...
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
25 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 ...
3
votes
3answers
284 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 ...
2
votes
3answers
93 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
0answers
34 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 ...
0
votes
0answers
49 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
13 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 ...
0
votes
1answer
123 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
82 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
239 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 / partition....
1
vote
0answers
22 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
110 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
62 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 > ...
1
vote
2answers
165 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 ...
3
votes
1answer
8k 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
314 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 ...
2
votes
1answer
49 views

Wipe a Solaris Disk

Looking for something similar to Eraser for Solaris 9-10-11 Anything?
0
votes
1answer
44 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
91 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
33 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
276 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
77 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 user....
2
votes
2answers
683 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 ...
-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
91 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
271 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 ...
3
votes
2answers
393 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
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 (...
1
vote
0answers
76 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
154 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
502 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
165 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
146 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
3k 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
587 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 ...
0
votes
1answer
51 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
1k 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
72 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
2answers
927 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
193 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
60 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
108 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. ...