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.

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, ...
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 ...
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, ...
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 ...
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 ...
8
votes
2answers
6k views

NTFS; marking sectors bad using Linux

I have a massive ZFS array on my fileserver. Whenever a disk reports bad sectors to smartmon, I order a replacement, and I shelve the failing one. And by "shelving the failing one", I mean that I ...
7
votes
1answer
2k views

Number of sectors per track in hard drive?

Is the number of sectors fixed for each track in a hard drive? I am wondering about this because most hard drive specifications give an accurate value for sectors/track rate. I am confused because I ...
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 ...
6
votes
1answer
480 views

Migrate Win7 upgrade from 63 sector to 4096 sector advanced format disk

If I use the Windows 7 backup on a system that has the 63 sector starting location and restore it to an advanced format 4096 sector system, will the restore create the starting sector at 63 or 4096?
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 ...
5
votes
3answers
2k views

What are disk sectors for?

I started to get confused on how the hard disk operates, particularly in writing and reading data into its platters. According to this article: http://www.tech-faq.com/how-data-is-stored-in-your-...
5
votes
2answers
1k views

4k Sectors: Which Drives Don't Lie About Having 512b Sectors and Correctly Report 4k Sectors?

I recently returned a Western Digital WD20EARS drive with 4k sectors (Western Digital refers to this as "advanced format"), because I found out that it lies and reports 512b sectors to the OS, and ...
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'...
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 ...
3
votes
1answer
992 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 ...
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.
3
votes
2answers
2k views

When referring to filesystems and disks, are “disk sectors”, “disk blocks”, “chunk size”, and “disk records” the same thing?

I'm pretty sure that a sector is basically a block, but I was moreso confused about chunk sizes and especially records. Some system calls require that your area in memory that buffers data from disk ...
3
votes
1answer
1k views

System randomly freezes yet mouse still moves, SSD out of reallocatable sectors, should I replace it? [duplicate]

Possible Duplicate: Is it really possible to repair bad sectors? This problem has lasted for the past 48 hours. The first time it happened, a program I was running stopped responding, so I tried ...
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 ...
3
votes
0answers
471 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 ...
2
votes
4answers
314 views

Fixboot won't stay fixed

On a Windows XP Home system that wouldn't boot and gave an error that said "Error loading operating system", I ran fixboot from the XP install disk. It seemed to successfully fix the boot sector after ...
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 ...
2
votes
1answer
402 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 ...
2
votes
1answer
700 views

Determine which sectors of a hard disk a given file occupies?

Is there a way I can see which sectors of the hard disk a given file occupies? The filesystem is ext3 or ext4 on Linux.
2
votes
1answer
768 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 ...
2
votes
1answer
1k views

Clone a 2TB WD Green internal drive with bad sectors to a 3TB partitioned external

I have a 2TB WD Black drive and would like to simply do a straight clone from a failing 3TB drive to it. Both are SATA. Will I be able to just install the new drive alongside the faulty one and then ...
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 ...
2
votes
1answer
319 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 ...
2
votes
2answers
421 views

Realocated Sector Count showing weird number

As can be seen on the screenshot below one of my hard drives is showing a weird count for sectors. Should I be worried about the disk dying? It's been running like this for four years. Could this be ...
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 ...
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
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.
1
vote
1answer
230 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 ...
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
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 ...
1
vote
0answers
56 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 ...
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/...
1
vote
0answers
228 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
503 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 ...
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 ...
1
vote
0answers
778 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
951 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 ...
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 ...
1
vote
0answers
205 views

GRUB: ELF sectors outside core

I just recently installed Xubuntu 12.04. Instantly after installing it I updated all my packages, however one package, grub-pc, failed to install. I'm not sure what caused it to fail, but here is the ...
1
vote
1answer
902 views

Boot Sector Missing in External hard drive

Yesterday I needed to copy some data from my girlfriend's laptop to mine. To do so I just copied my whole data from my external hard drive to my PC and used the hard drive for data exchange. After ...
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: ...
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 /...
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
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
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 ...