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
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
50 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
31 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
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 ...
1
vote
1answer
202 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
1answer
688 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 ...
0
votes
1answer
207 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....
3
votes
0answers
438 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
195 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/...
1
vote
0answers
43 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
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
225 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
494 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
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 ...
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 ...
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?
3
votes
1answer
970 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 ...
0
votes
0answers
202 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 ...
2
votes
0answers
553 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
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 ...
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: ...
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
344 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
754 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
939 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 ...
0
votes
1answer
92 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
53 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 ...
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, ...
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, ...
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 ...
2
votes
1answer
742 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

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 ...
2
votes
1answer
315 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 ...
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 ...
2
votes
1answer
387 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 ...
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 ...
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
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'...
0
votes
1answer
235 views

Is it possible to make certain disk sectors readonly

Is it by anyway possible to make certain disk sectors read-only? (The disk being specifically a USB Flash drive). Also the possibility of repartitioning the drive and making one partition read-only ...
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 ...
0
votes
1answer
116 views

Why would the last sector be unused?

I was bored and decided to open up my hard drive in HxD (a free hex editor) and wanted to see what the REAL size of my disk is. So I did and scrolled to the bottom and discovered that the last sector ...
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 ...
1
vote
0answers
203 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 ...
2
votes
2answers
415 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 ...
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-...
3
votes
3answers
364 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 ...