Re: 1024 byte sector file system problem.

From: Riley Williams (rhw@MemAlpha.cx)
Date: Sun Mar 12 2000 - 16:01:54 EST


Hi there.

>> should a disk that was fdisk/formatted on an earlier kernel
>> (i.e. before this change, for example a 2.0.26 kernel) work
>> _as is_ under the new kernels, or do I need to NFS copy my
>> 100 gigabytes of data from one system to the other ?

> No, you need to change a few bytes in the partition table.

> (Roughly speaking: the partition is determined by the pair
> (start,length). Earlier this was taken to be in 512-byte
> units, now it is taken in hardware sector size units. So,
> if your hardware sector size is 1024 bytes, these two
> numbers must be halved.

> That is easy to do with some sfdisk handwork. But I could
> write a tiny conversion utility that does the `read, divide
> by 2, write' for you. Mail me [not dwguest] if you need
> such a utility.)

How would that deal with partitions that are an odd number of
sectors in length, as sometimes happens?

Best wishes from Riley.

 * Copyright (C) 2000, Memory Alpha Systems.
 * All rights and wrongs reserved.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
 * http://www.memalpha.cx/Linux/Kernel/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:22 EST