Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sectors]

The tag has no usage guidance.

0
votes
0answers
12 views

What is the block size of a WDS200T2B0A/WDS200T2B0B?

Does anyone know the write block size of a Western Digital Blue SATA SSD (model numbers WDS200T2B0A or WDS200T2B0B)? I contacted WD support and they're claiming it is 512B, but most information I've ...
3
votes
1answer
2k views

GPT PMBR Size Mismatch will be corrected by w(rite)

Linux gives error "GPT PMBR size mismatch will be corrected by w(rite)." The error message is far from self-explanatory. Does this mean that Linux will (attempt to) resize the GPT partition ...
0
votes
0answers
16 views

Is it possible to fix number of sectors in the USB enclosure?

I have a LUKS-encrypted external USB hard drive (1TB HGST Touro S). If I put the drive into the new USB enclosure, it reduces the number of sectors by 1 and I cannot mount the filesystem anymore. Is ...
1
vote
0answers
55 views

How to spot or match the specific sector of the DVD disc in the movie?

I've been checking the condition of DVD discs with VSO Inspector. Most of time, it doesn't show any errors on the discs. However, when there's an error on a disc, sometimes it shows that there's an ...
0
votes
2answers
55 views

Why the different arc length sector have the same size data capacity?

The sector-A and sector-B, the arc length are different, but they representing data capacity are same, such as 512KB. you see, whether the different cylinder sector's density is different? and if we ...
0
votes
1answer
35 views

Converting Logical sector to CHS tuple on an SSD

I'm getting myself used to x86 assembly, so I figured I'd start with some 16-bit programs. To test myself, I'm creating a program that will load data off a disk, copy it to memory, and then use it for ...
3
votes
1answer
987 views

How to read MFT on USB Hard Drive (NTFS, 1TB)?

I'm looking for a high-level method to read the MFT entries on an NTFS file system for a Seagate 1TB internal hard drive. The platform is Windows 7. I need to fetch the filename, block size and ...
1
vote
0answers
44 views

Do new USB flash drives use advanced format (AF)?

I just want to know if that new feature (AF - advanced format) on some hard drives, is present on flash (USB external disk) drives as well. I'm a little bit confused because a simple check on /dev/...
-3
votes
1answer
770 views

How do I determine what is the best block size for a 960 PRO M.2?

I have a Samsung NVMe SSD 960 PRO M.2. I was in the process of installing Gentoo on it. gparted notified me that the physical block size, is different than what the kernel reports. I thought the ...
1
vote
1answer
228 views

Reading a file using LBA addressing

Is it possible to read/execute files/programs using the LBA addressing rather than the file system location? For example can I execute /bin/sh using the LBA sector locations of it obtained using ...
3
votes
0answers
467 views

Bad sectors in RAM, fixed or not?

So I have blocked some bad memory range from RAM memory. My Question is the next one, I have done it right? Here you have the info: C:\Windows\system32>bcdedit /set badmemorylist 0xFC 0xFD 0xFE ...
0
votes
1answer
231 views

Block defective RAM sectors [duplicate]

How do I find defective RAM sectors and where? I have tried memtest, but where it does describe the sectors (if). And how to solve them exactly. First, i have tried this : https://thecomputerperson....
0
votes
1answer
226 views

Is it possible for the filesystem's logical block size to be less than the physical sector size?

Let's say we have a block device (eg. Hard Drive) with 4096 bytes sector size and no 512 bytes emulation is available (The hard drive only understands units of 4096 bytes size). Is is possible to ...
0
votes
1answer
37 views

What actually happens with the hard drive when we resize(shrink, extend) partitions?

I have a hard drive with 4 partitions(c,d,e,f) and I want to shrink partition (e) and then extend partition (c) with the shrunk free space. What will happen with the hard drive? Will the Cylinders/...
2
votes
1answer
763 views

Linux command to get FAT32 sectors of a file

I'd like to find an equivalent command to debugfs but for FAT32 partitions within Linux. I need to list all the sectors corresponding to a specific file (I'm working on a disk imaged with dd). If ...
1
vote
1answer
6k views

What is the difference between a disk block and a sector?

I know that a sector is the unit in which a track is splitted, but I had this doubt since I was looking for information about the maximum number of pointers that an inode can support. I found that ...
3
votes
6answers
9k views

Is it possible that an SD card has 100% bad sectors?

I have an SD card that has been used in a photo camera for some months, and it's been working perfectly fine until today. It failed when we were just browsing pictures in the camera screen (so it wasn'...
2
votes
2answers
1k views

File slack / RAM slack: why does Windows write arbitrary RAM bytes to disk? Does Linux too?

I just read about file slack in a book about Windows 7. What I already (think to) know: Windows stores data on the disk in clusters. A cluster usually contains 8 sectors of 512 bytes each, so 4096 ...
1
vote
1answer
3k views

What is a valid block size in a disk?

Let be a disk with the following characteristics : bytes per sector = 512 sectors per track = 50 tracks per surface = 2000 number of platters = 5 average rotational speed =5400 rpm ...
1
vote
0answers
227 views

Is it possible to find out which sectors are pending without full disk read?

I want to get a list of sectors that are reported as pending in the S.M.A.R.T. value 197 (С5) Current Pending Sector Count. Any chance to get it without resorting to a full surface scan?
1
vote
0answers
502 views

Remapping bad sectors from sectors not in the spare sector pool

For common flash controllers what happens when the spare-sector pool runs out and a bad-sector is found? Will a flash controller (any form factor) remap failing sectors to non-allocated sectors in the ...
0
votes
1answer
1k views

How can I calculate what sector of the partition an offset resides in?

I have an offset (1519748) and I want to calculate which sector of the partion (1) that the offset resides in. How would I calculate this?
10
votes
1answer
5k views

Western Digital Green drive from 512 byte sectors (jumpered) to 4k byte sectors (removal of jumper)

I was using a WD20EARS drive with pins 7 and 8 jumpered in order to use it on an OS that doesn't support 4k sectors. But now, I want to transfer that hard drive over to an OS that has 4k sector ...
6
votes
4answers
11k views

hard drive pending sector count

For some reason, my pending sector count to be remapped is unbelievably high (2163 currently). I've seen it go up 20 in one week. But no sectors have been remapped. Dell's computer diagnostics utility ...
10
votes
2answers
4k views

What does the output of fdisk mean?

I've got a flash drive and I want to understand the properties of it as is outputted from fdisk. I inserted it and check the dmesg and I could see that it was mounted as /dev/sdb1 so I ran fdisk to ...
15
votes
1answer
2k views

Can prematurely powering down a computer cause bad sectors in a hard drive?

Q1: Can forcibly powering off a PC without using the built-in shutdown/reboot functions, cause a HDD to accumulate bad sectors? Whether it be the result of BSODs, lockups, crashes, etc. Q2: If so, ...
2
votes
0answers
557 views

Getting a 4TB USB drive (4k native sector size) to work with Xen and Windows 2008 guest

I am trying to get a new 4TB Seagate USB drive to work with Xen 6.2 and a Windows 2008 R2 virtual guest. The Xen host sees the drive fine, fdisk -l lists it with the correct capacity, etc. I can ...
0
votes
0answers
204 views

Emulate 512-byte sectors with Xen

Anyone know how to make Xen 6.2 emulate 512-byte sectors when exposing a drive to a virtual guest? This would allow exposing native 4kB sector drives to older virtual guests like Windows 2003/2008 ...
1
vote
2answers
1k views

How to get a file's sector location/number?

I want to know the sector location of a particular file on my hard drive. Can I get that by any means? I am running Mac OS X (Intel) with a Hitachi HDD.
0
votes
1answer
108 views

Wiping only part of a partition on an HDD

I have an HDD which has failed in my NAS, and which I want to return to the manufacturer. I want to remove the data first since I had not encrypted the drive. The drive is recognized by Windows and ...
10
votes
1answer
9k views

Is it possible to create a software RAID 1 with different sector sizes?

I bought a hard drive of a different model to my main drive and tried to mirrored them, but the following error message came up in Windows 7 Virtual Disk Manager: All disks holding extends for a ...
0
votes
1answer
84 views

Is the beginning file on a SATA HDD the same as an SSD? [closed]

Having a hard time finding the answer to this. The beginning sector for standard user data on a HDD (sata, scsi, or ide) is always the same. First question: Which sector is it? Second question: ...
2
votes
1answer
401 views

File size on disk gets minimum equal to memory page size instead of disk sector size?

I often write small programs of sizes < 512 bytes, which is my disk's sector size. However, the du command always shows these files' disk usage at 4K. My memory page size is 4K. So I was ...
1
vote
1answer
2k views

Cloning a 512 sector size to Advanced Format WD Black drive

I have a old WD Black drive that is not Advanced Format. Due to it having one bad sector in a unused area I need to clone it to a new hard drive to avoid losing data. Unfortunately the same model of ...
0
votes
2answers
355 views

Partition Hard disk with start sector 1

I have a new Hard Disk which I want to use for NAS drive. The requirement is that the partition as seen in fdisk should be as below. Device Boot Start End Blocks Id System /...
1
vote
0answers
774 views

What are the differences between Host Protected Area (HPA), Device Configuration Overlay (DCO), and service area of a HDD/SDD?

I'm confused about the differences between the Host Protected Area (HPA), Device Configuration Overlay (DCO), and the service area of a HDD or SSD. From what I gather on the wiki pages, disks can have ...
1
vote
0answers
950 views

Can a USB pen drive have sector size > 512 bytes?

Hard-disks, these days, can have sectors sized from 512 to 4096 bytes. I would like to know if the same is also possible with USB removable storage media (flash drives, or pen drives). Context: I ...
10
votes
2answers
4k views

Unable to Write Zeros to Bad Sectors/Hard Disk Not Counting Reallocated Sectors

I have a drive that is reporting that the current pending sectors is "45". I have used badblocks to identify the sectors and I have been trying to write zeros to them with dd. From what I understand, ...
0
votes
1answer
93 views

Unable to access 15 GB partition?

I have 250 GB HDD. I have created 5 partitions of it. Unfortunately, I am unable to format, delete, access my 5th partition which is of 15 GB. It says that it is Unallocated. If it is unallocated then ...
1
vote
1answer
448 views

Mismatch between CxHxS and “total number of sectors”

Model: ATA ST320LT007-9ZV14 (scsi) Disk /dev/sda: 38913,80,62 Sector size (logical/physical): 512B/4096B BIOS cylinder,head,sector geometry: 38913,255,63. Each cylinder is 8225kB. Partition Table: ...
1
vote
1answer
54 views

Recover Bootable USB disk data

I have a bootable USB disk. There is a program in the USB disk for controlling a micro-controller. Yesterday my friend did a big mistake. He connected the disk to his laptop, and after creating backup ...
0
votes
1answer
4k views

Partitioning an SSD with sfdisk

I have been trying to partition this SSD (Samsung 840) nicely for a while now. I want to make sure the pages line up with the SSD pages to limit the amount of writes. I found this site which ...
1
vote
2answers
4k views

Reallocated bad sectors cause my HDD to slow down?

I've just used several utilities to check whether my HDD drive is really failing - I've come to a conclusion that it's the hard disk drive that causes unusual slow downs as my system almost freezes ...
2
votes
1answer
318 views

Could there be data loss on hard drive due to reallocated sectors?

The SMART data for one of my hard drives indicates that it has some reallocated sectors. I've read that a bad sector will only be reallocated on a write operation (meaning the original data is being ...
3
votes
1answer
1k views

Is the first sector of the hard drive in the center or along the edge of the drive?

On a hard drive, where is the physical location of the first sector. Is it towards the center along the axis of rotation or along the outer edge? Does this vary from manufacturer to manufacture.
0
votes
2answers
1k views

How do I find the sectors that populate a hard drive track?

How do I determine the sectors that are occupying a drive track? I am interested in locating "the last 512 bytes of the first logical drive track" in order to determine if a drive is encrypted with ...
0
votes
1answer
157 views

Copying a Partition-Empty Sectors and All

What's the best way to copy a entire partition empty sectors and all as to recover deleted files, a few have recommended "dd" but I'll be honest I've never used it and nobody seems to know of a simple ...
5
votes
3answers
285 views

Does NTFS (or any file system) support files outside of the partition?

So on my C: drive, there was a file called BOOTSECT.BAK. Not knowing what it is, I opened it up in HxD and the first 14 bytes were B \0 O \0 O \0 T \0 M \0 G \0 R \0 corresponding to the UTF-16LE ...
0
votes
2answers
161 views

Restore boot sector from a hard disc to another

I have a win7 on my old Seagate HDD. Recently I installed one new SSD and setup win8 on it. So I have a boot table to choose win7 or win8 to startup. Now when I tried to remove the old one (the ...
3
votes
3answers
366 views

Is it possible to detect the previous byte position on a hard drive after it has been overwritten?

I keep hearing about these statements that "a hard drive is like a cassette tape because it is a magnetic medium". That got me thinking... Back in the day when I used to play DJ as a young lad, I ...