• does linux waste a lot of space on a partition?

    From Charles T. Smith@21:1/5 to All on Fri May 12 19:43:28 2017
    I bought a 3T drive which was prepartitioned with fat32.

    I created a linux partition, but it looks a lot smaller:

    38c38
    < 42 heads, 63 sectors/track, 276858 cylinders, total 732566646 sectors
    ---
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    45c45
    < /dev/sdc1 8191 732566645 2930233820 83 Linux
    ---
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA)

    The linux partition starts far latter and ends earlier. Am I interpreting
    that wrong, or is it fdisk(1)'s fault?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bobbie Sellers@21:1/5 to Charles T. Smith on Fri May 12 13:02:57 2017
    On 05/12/2017 12:43 PM, Charles T. Smith wrote:
    I bought a 3T drive which was prepartitioned with fat32.

    Do you mean formatted?

    I created a linux partition, but it looks a lot smaller:

    Smaller than what?

    38c38
    < 42 heads, 63 sectors/track, 276858 cylinders, total 732566646 sectors
    ---
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    45c45
    < /dev/sdc1 8191 732566645 2930233820 83 Linux
    ---
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA)

    The linux partition starts far latter and ends earlier. Am I interpreting that wrong, or is it fdisk(1)'s fault?


    You would do a lot better with a Live GPartEd CD but no Linux does not waste space but are you trying for a BIOS system with MBR or
    a (U)EFI with Globally Unique ID Table aka GPT. GpartEd live cd in the
    latest version will include gdisk as well as other modern tools.
    The GPT allows up to 128 primary partitions which some of us might
    find useful. It does not allow for logical partitions. A lot of
    modern installers will not even look at a disk with logical partitions.
    F disk is obsolete for large disks where you might want
    many partitions.
    You should be using Linux Filesystem ext4 on a disk like this one.
    Of course the information you have provided is lacking in so
    many ways that it is difficult to be sure that my advice is the best.
    After all you could be trying to use an obsolete distribution or
    application which does not accept Ext4 or understand GTP.

    bliss "running fast and light" on PCLinuxOS64-2016.03
    GNU/Linux 4.10.15-pclos1 #1 SMP Mon May 8

    --
    bliss dash SF 4 ever at dslextreme dot com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to Bobbie Sellers on Fri May 12 20:15:08 2017
    On Fri, 12 May 2017 13:02:57 -0700, Bobbie Sellers wrote:

    On 05/12/2017 12:43 PM, Charles T. Smith wrote:
    I bought a 3T drive which was prepartitioned with fat32.
    ...
    I created a linux partition, but it looks a lot smaller:
    ...
    38c38
    < 42 heads, 63 sectors/track, 276858 cylinders, total 732566646 sectors
    ---
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    45c45
    < /dev/sdc1 8191 732566645 2930233820 83 Linux
    ---
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA)

    The linux partition starts far latter and ends earlier. Am I interpreting >> that wrong, or is it fdisk(1)'s fault?


    You would do a lot better with a Live GPartEd CD but no Linux does not waste space ...


    I'd like to understand why windows thinks it's okay to start a partition at block 256 but linux thinks you've got to throw away 8191 blocks. And
    linux wants to leave a 21k block margin at the end of the sector that windows doesn't think is necessary.

    Maybe the units are different? But the two fdisk outputs are identical
    except for the above differences.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bobbie Sellers@21:1/5 to Charles T. Smith on Fri May 12 14:35:00 2017
    On 05/12/2017 01:15 PM, Charles T. Smith wrote:
    On Fri, 12 May 2017 13:02:57 -0700, Bobbie Sellers wrote:

    On 05/12/2017 12:43 PM, Charles T. Smith wrote:
    I bought a 3T drive which was prepartitioned with fat32.
    ....
    I created a linux partition, but it looks a lot smaller:
    ....
    38c38
    < 42 heads, 63 sectors/track, 276858 cylinders, total 732566646 sectors
    ---
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    45c45
    < /dev/sdc1 8191 732566645 2930233820 83 Linux
    ---
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA) >>>
    The linux partition starts far latter and ends earlier. Am I interpreting >>> that wrong, or is it fdisk(1)'s fault?


    You would do a lot better with a Live GPartEd CD but no Linux does not >> waste space ...


    I'd like to understand why windows thinks it's okay to start a partition at block 256 but linux thinks you've got to throw away 8191 blocks. And
    linux wants to leave a 21k block margin at the end of the sector that windows doesn't think is necessary.

    Which Windows and which Linux!

    Windows past version 7 uses UEFI coding and requires that you have several additional partitions. I have a HP Pavilion which came
    with Windows 8.1 and it has about 4 special small partitions at the
    beginning of the disk as well as a recovery partition of about 25 GiB
    at the end of the disk.
    This is why i talk about using a current GUI tool that lets
    you see all the damned Windows necessary partitions.
    Linux may be trying to clear the mess of the Windows partitions.
    But if you were converting a disk from BIOS firmware to EFI firmware then you need a special BIOS-Boot partition as well as an
    EFI partition. But you have given no relevant information as to your
    system and intent.

    Maybe you are just a Troll.

    Maybe the units are different? But the two fdisk outputs are identical except for the above differences.

    You seem to have ignored my advice but I will repeat it
    until I find out more.

    You would do a lot better with a Live GPartEd CD but no Linux does
    not waste space but are you trying for a BIOS system with MBR or
    a (U)EFI with Globally Unique ID Table aka GPT. GpartEd live cd in the
    latest version will include gdisk as well as other modern tools.
    The GPT allows up to 128 primary partitions which some of us might
    find useful. It does not allow for logical partitions. A lot of
    modern installers will not even look at a disk with logical partitions.
    F disk is obsolete for large disks where you might want
    many partitions.
    You should be using Linux Filesystem ext4 on a disk like this one.
    Of course the information you have provided is lacking in so
    many ways that it is difficult to be sure that my advice is the best.
    After all you could be trying to use an obsolete distribution or
    application which does not accept Ext4 or understand GTP.

    bliss "running fast and light" on PCLinuxOS64-2016.03
    GNU/Linux 4.10.15-pclos1 #1 SMP Mon May 8

    --
    bliss dash SF 4 ever at dslextreme dot com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Charles T. Smith on Fri May 12 23:00:52 2017
    On 2017-05-12 22:15, Charles T. Smith wrote:


    I'd like to understand why windows thinks it's okay to start a partition at block 256 but linux thinks you've got to throw away 8191 blocks. And
    linux wants to leave a 21k block margin at the end of the sector that windows doesn't think is necessary.

    Maybe the units are different? But the two fdisk outputs are identical except for the above difference
    Alignment changed during the years. Now it aligns on MiB boundaries,
    previously it did on 512 B sectors.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to Bobbie Sellers on Fri May 12 22:10:26 2017
    On Fri, 12 May 2017 14:35:00 -0700, Bobbie Sellers wrote:


    I'd like to understand why windows thinks it's okay to start a partition at >> block 256 but linux thinks you've got to throw away 8191 blocks. And
    linux wants to leave a 21k block margin at the end of the sector that windows
    doesn't think is necessary.

    Which Windows and which Linux!


    I don't have a windows machine. The disk was pre-formated with fat32 when I bought
    it today. My linux machine is ubuntu 14.04 (unfortunately).


    I'm an old-fashioned guy, I don't need to be at the bleeding edge. MBR is as much as I can handle, and with luck, I can stuck to under 4 primary partitions. In fact, I expect to format the 3T with a single partition - it's just for multigenerational 1Tb tarball backups.

    Perhaps I should take my drive to work, where there are windows machines and let
    windows partition it and then format it at home with ext3 - or, you think that ext4
    offers important advantages?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to Carlos E. R. on Fri May 12 22:13:48 2017
    On Fri, 12 May 2017 23:00:52 +0200, Carlos E. R. wrote:

    On 2017-05-12 22:15, Charles T. Smith wrote:


    I'd like to understand why windows thinks it's okay to start a partition at >> block 256 but linux thinks you've got to throw away 8191 blocks. And
    linux wants to leave a 21k block margin at the end of the sector that windows
    doesn't think is necessary.

    Maybe the units are different? But the two fdisk outputs are identical
    except for the above difference
    Alignment changed during the years. Now it aligns on MiB boundaries, previously it did on 512 B sectors.

    Okay 2^11 + 2^9 == 2^20. But why throw away that much data? That just
    leaves room for hackers to store stuff.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Charles T. Smith on Fri May 12 22:22:19 2017
    On 2017-05-12, Charles T. Smith <cts.private.yahoo@gmail.com> wrote:
    I bought a 3T drive which was prepartitioned with fat32.

    Firstly, disk drive makers label their drives with the size in ordinary
    decimal numbers. Thus 3TB is 3 10^12 bytes, not 2^40= 3.3x10^12. Thus
    3TB dive is what in computer speak would be about 2.7TB (which is what
    Linux measures things in terms of)

    Secondly, you can put partitions anywhere on the drive you want. If you
    want to put the partition starting at cyl 500000 you can.


    I created a linux partition, but it looks a lot smaller:

    38c38
    < 42 heads, 63 sectors/track, 276858 cylinders, total 732566646 sectors
    ---
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    45c45
    < /dev/sdc1 8191 732566645 2930233820 83 Linux
    ---
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA)

    I have no idea why you say the Linux one is much smaller. It is 2930
    x10^6 bytes in size. while the W95 is the same.

    So I think you need to be a bit clearer. Show us the full output of
    fdisk -l
    or of df.


    The linux partition starts far latter and ends earlier. Am I interpreting that wrong, or is it fdisk(1)'s fault?


    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to William Unruh on Fri May 12 22:30:21 2017
    On Fri, 12 May 2017 22:22:19 +0000, William Unruh wrote:

    On 2017-05-12, Charles T. Smith <cts.private.yahoo@gmail.com> wrote:
    I bought a 3T drive which was prepartitioned with fat32.
    ...
    I created a linux partition, but it looks a lot smaller:

    38c38
    < 42 heads, 63 sectors/track, 276858 cylinders, total 732566646 sectors
    ---
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    45c45
    < /dev/sdc1 8191 732566645 2930233820 83 Linux
    ---
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA)

    I have no idea why you say the Linux one is much smaller. It is 2930
    x10^6 bytes in size. while the W95 is the same.


    The *partition* is smaller after partitioning with linux's fdisk.


    Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 33550336 bytes
    Disk identifier: 0xeafbbd2f

    Device Boot Start End Blocks Id System
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Vince Coen@21:1/5 to Charles T. Smith on Fri May 12 23:28:38 2017
    Hello Charles!

    Friday May 12 2017 23:10, Charles T. Smith wrote to All:

    On Fri, 12 May 2017 14:35:00 -0700, Bobbie Sellers wrote:


    I'd like to understand why windows thinks it's okay to start a
    partition at block 256 but linux thinks you've got to throw away
    8191 blocks. And linux wants to leave a 21k block margin at the
    end of the sector that windows doesn't think is necessary.

    Which Windows and which Linux!


    I don't have a windows machine. The disk was pre-formated with fat32
    when I bought it today. My linux machine is ubuntu 14.04
    (unfortunately).


    I'm an old-fashioned guy, I don't need to be at the bleeding edge.
    MBR is as much as I can handle, and with luck, I can stuck to under 4 primary partitions. In fact, I expect to format the 3T with a single partition - it's just for multigenerational 1Tb tarball backups.

    Perhaps I should take my drive to work, where there are windows
    machines and let windows partition it and then format it at home with
    ext3 - or, you think that ext4 offers important advantages?

    Using ext4 give more back up in that there is journalising +.

    Many current distros use it as a default and yes it does take a little more
    red tape space but there again FAT takes more along with the way it uses
    chunks of disk space where a lot can be unused.
    In Linux it only takes up what is needed subject to the way you have set up
    the drive and that includes MSDOS or GPR partitioning and the hardware on
    the drive itself. Then there is the SCSI controller at what you have it
    set for.

    No, it is not that straight forward but I would have thought that FAT of
    any type is more wasteful.


    Vince

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Bobbie Sellers on Sat May 13 00:26:16 2017
    On 2017-05-12 23:35, Bobbie Sellers wrote:
    On 05/12/2017 01:15 PM, Charles T. Smith wrote:
    On Fri, 12 May 2017 13:02:57 -0700, Bobbie Sellers wrote:


    I'd like to understand why windows thinks it's okay to start a
    partition at
    block 256 but linux thinks you've got to throw away 8191 blocks. And
    linux wants to leave a 21k block margin at the end of the sector that
    windows
    doesn't think is necessary.

    Which Windows and which Linux!

    Windows past version 7 uses UEFI coding and requires that you have several additional partitions. I have a HP Pavilion which came
    with Windows 8.1 and it has about 4 special small partitions at the
    beginning of the disk as well as a recovery partition of about 25 GiB
    at the end of the disk.
    This is why i talk about using a current GUI tool that lets
    you see all the damned Windows necessary partitions.
    Linux may be trying to clear the mess of the Windows partitions.
    But if you were converting a disk from BIOS firmware to EFI firmware
    then you need a special BIOS-Boot partition as well as an
    EFI partition. But you have given no relevant information as to your
    system and intent.

    All that is irrelevant.



    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to Vince Coen on Fri May 12 22:36:35 2017
    On Fri, 12 May 2017 23:28:38 +0100, Vince Coen wrote:

    Hello Charles!

    Friday May 12 2017 23:10, Charles T. Smith wrote to All:
    Many current distros use it as a default and yes it does take a little more red tape space but there again FAT takes more along with the way it uses chunks of disk space where a lot can be unused.
    In Linux it only takes up what is needed subject to the way you have set up the drive and that includes MSDOS or GPR partitioning and the hardware on
    the drive itself. Then there is the SCSI controller at what you have it
    set for.

    No, it is not that straight forward but I would have thought that FAT of
    any type is more wasteful.


    Vince


    Yes, I don't mean ext4 vs. fat32 but rather ext3 - which I've used for years - and ext4, which I haven't. I switched once to the Reiser FS and regreted i
    and so now I'm a bit shy about doing that again.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bobbie Sellers@21:1/5 to Charles T. Smith on Fri May 12 15:58:22 2017
    On 05/12/2017 03:10 PM, Charles T. Smith wrote:
    On Fri, 12 May 2017 14:35:00 -0700, Bobbie Sellers wrote:


    I'd like to understand why windows thinks it's okay to start a partition at >>> block 256 but linux thinks you've got to throw away 8191 blocks. And
    linux wants to leave a 21k block margin at the end of the sector that windows
    doesn't think is necessary.

    Which Windows and which Linux!
    Well you are dealing with FAT 32 which does not support as many file attributes and permissions as Linux. As someone else mentions the
    new standard in Linux is 1 megabyte boundaries. Actually the way the
    hard disk is designated is wasting a lot of space because you might
    expect 3 TB but you are getting something like 2.75 TB due to the
    discrepancy between the advertising and the reality. Hey I have one
    sitting on my desk next to my printer for backup of Windows and of
    Linux as well as lot of media crap I am hooked on.



    I don't have a windows machine. The disk was pre-formated with fat32 when I bought
    it today. My linux machine is ubuntu 14.04 (unfortunately).

    Move up to 16.04.2 which is the latest Long Term Support(LTS) version at least and also it will be the last LTS version with Unity DE.
    So you might want to pick from one of the other versions if you don't
    like the Gnome 3.24 DE. Mate looks very good to me in the Ubuntu/
    Canonical line or elsewhere if you don't want to use Canonical work.


    I'm an old-fashioned guy, I don't need to be at the bleeding edge. MBR is as much as I can handle, and with luck, I can stuck to under 4 primary partitions.
    In fact, I expect to format the 3T with a single partition - it's just for multigenerational 1Tb tarball backups.

    Well I am an old-fashioned girl of 79.75 years. I learned to deal with the (U)EFI and with converting MBR to GPT and it is good to stretch your
    brain around some new concepts in the work. AS to making
    one partition have you ever tried to recover a partition or file
    approximating that size? It takes forever and is a good argument
    for multicore high speed CPUs.


    Perhaps I should take my drive to work, where there are windows machines and let
    windows partition it and then format it at home with ext3 - or, you think that ext4
    offers important advantages?

    Don't bother to take it to work, what will that get you but a damned NTFS. Ext4 is better than Ext3 and is on the way to the good
    filesystems like Btrfs.
    But I am too tired now to get into the details of File system
    so if you look at:
    <https://en.wikipedia.org/wiki/Comparison_of_file_systems>
    you can read all about it. Caution there are more than you want
    to read about.

    If you just download an GPartEd Live CD from Distrowatch or the GPartEd site, 5.0.0 is the latest version, it will make your life easier.

    bliss "running fast and light" on PCLinuxOS64-2016.03
    GNU/Linux 4.10.15-pclos1 #1 SMP Mon May 8

    --
    bliss dash SF 4 ever at dslextreme dot com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Aragorn@21:1/5 to All on Sat May 13 01:28:07 2017
    On Saturday 13 May 2017 00:10, Charles T. Smith conveyed the following
    to comp.os.linux.setup...

    I'm an old-fashioned guy, I don't need to be at the bleeding edge.
    MBR is as much as I can handle, and with luck, I can stuck to under 4
    primary partitions. In fact, I expect to format the 3T with a single partition - it's just for multigenerational 1Tb tarball backups.

    I'm afraid that won't be possible. If you want to make use of the full capacity of a drive that's larger than 2 TiB ─ note: we're talking of
    binary capacity here, not decimal ─ then you're going to have to set up
    a GUID partition table (GPT) on it, with a "protective MBR" and an empty
    (and unformatted/unmounted) "BIOS partition" of about 3 MiB in size
    right after the GPT header. This is so as to make sure that GRUB does
    not overwrite the GPT partition table with its core.img stage.

    As you have already been advised before, don't use fdisk, but use gdisk
    or gparted instead.

    Perhaps I should take my drive to work, where there are windows
    machines and let windows partition it and then format it at home with
    ext3 - or, you think that ext4 offers important advantages?

    1. Never let Microsoft Windows create partitions intended to be used
    by GNU/Linux.

    2. ext4 is a lot faster than ext3, because it uses hashed trees by
    default, and because it allocates space in the form of extents,
    rather than as raw disk blocks. There is a much smaller degree
    of fragmentation and much better performance.

    3. Note that ext4 is just one of the possible choices. Myself, I
    prefer XFS, which is an advanced industry-standard B-tree based
    filesystem derived from SGI IRIX. IBM's JFS is equally well
    supported and works just as well. reiserfs is good if you have
    lots of small files, but it's already an outdated filesystem by
    now, and it does have its quirks. btrfs is the GPL'd equivalent
    of ZFS, which is used in Solaris and in FreeBSD ─ it's a filesystem
    with integrated volume management.


    --
    = Aragorn =

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Charles T. Smith on Sat May 13 02:04:23 2017
    On 2017-05-13 00:10, Charles T. Smith wrote:

    I don't have a windows machine. The disk was pre-formated with fat32 when I bought
    it today. My linux machine is ubuntu 14.04 (unfortunately).


    I'm an old-fashioned guy, I don't need to be at the bleeding edge. MBR is as much as I can handle, and with luck, I can stuck to under 4 primary partitions.
    In fact, I expect to format the 3T with a single partition - it's just for multigenerational 1Tb tarball backups.

    You may need GPT for a 3 TB disk.

    http://www.tomshardware.co.uk/forum/250878-32-limit-master-boot-record


    Perhaps I should take my drive to work, where there are windows machines and let
    windows partition it and then format it at home with ext3 - or, you think that ext4
    offers important advantages?

    Use Ext4, and format it using Linux in the machine you are going to use it.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to William Unruh on Sat May 13 01:48:39 2017
    On 2017-05-13 00:22, William Unruh wrote:
    On 2017-05-12, Charles T. Smith <cts.private.yahoo@gmail.com> wrote:
    I bought a 3T drive which was prepartitioned with fat32.

    Firstly, disk drive makers label their drives with the size in ordinary decimal numbers. Thus 3TB is 3 10^12 bytes, not 2^40= 3.3x10^12. Thus
    3TB dive is what in computer speak would be about 2.7TB (which is what
    Linux measures things in terms of)

    Nope :-)

    "Thus 3TB dive is what in computer speak would be about 2.7TiB"

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Charles T. Smith on Sat May 13 01:53:59 2017
    On 2017-05-13 00:13, Charles T. Smith wrote:
    On Fri, 12 May 2017 23:00:52 +0200, Carlos E. R. wrote:

    On 2017-05-12 22:15, Charles T. Smith wrote:


    I'd like to understand why windows thinks it's okay to start a partition at >>> block 256 but linux thinks you've got to throw away 8191 blocks. And
    linux wants to leave a 21k block margin at the end of the sector that windows
    doesn't think is necessary.

    Maybe the units are different? But the two fdisk outputs are identical
    except for the above difference
    Alignment changed during the years. Now it aligns on MiB boundaries,
    previously it did on 512 B sectors.

    Okay 2^11 + 2^9 == 2^20. But why throw away that much data? That just leaves room for hackers to store stuff.

    LOL! No.

    It is 8191 sectors instead of 256. That's 4 MiB. Wow! A huge wasted
    space :-P

    Do not worry about those differences.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Charles T. Smith on Sat May 13 02:22:05 2017
    On 2017-05-13 00:30, Charles T. Smith wrote:

    The *partition* is smaller after partitioning with linux's fdisk.


    Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 335his50336 bytes
    Disk identifier: 0xeafbbd2f

    Device Boot Start End Blocks Id System
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA)


    Notice in this case that sectors are 4096 bytes each, not 512. Thus the
    sizes are different from what I said on another post.

    The start is 1 MB off. The other one was 32 MB off. This space does not
    belong to the filesystem, windows or linux. It was "wasted" by the
    partitioner. Not the formatter. Different thing.

    That space is partly used by Grub, if installed.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Bobbie Sellers on Sat May 13 02:52:28 2017
    On 2017-05-13 00:58, Bobbie Sellers wrote:

    Well you are dealing with FAT 32 which does not support as many file attributes and permissions as Linux. As someone else mentions the
    new standard in Linux is 1 megabyte boundaries. Actually the way the
    hard disk is designated is wasting a lot of space because you might
    expect 3 TB but you are getting something like 2.75 TB due to the
    discrepancy between the advertising and the reality.

    Wow!

    No, not at all.

    The disk advertises 3 TB, and it has 3 * 10E12 bytes. A bit more,
    actually: what fdisk says is "3000.6 GB, 3000592982016 bytes". It has
    exactly the advertised size and a bit more.

    Your confusion comes from the computer people using binary units and multipliers not saying it, whereas the disk people don't.

    The multiplier T, tera, is 1×10¹², or 1000⁴, the same for bytes, grams, metres, etc. Do not confuse with Ti, Tebi = 1024⁴

    Take those 3000592982016 bytes bytes, and divide by
    (1024*1024*1024*1024) and you get the familiar figure of 2.73, which is
    not TB but TiB.

    https://en.wikipedia.org/wiki/Tebibyte


    Like it or not, those are the official numbers :-)

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From David W. Hodgins@21:1/5 to Charles T. Smith on Fri May 12 20:30:18 2017
    On Fri, 12 May 2017 18:13:48 -0400, Charles T. Smith <cts.private.yahoo@gmail.com> wrote:

    Okay 2^11 + 2^9 == 2^20. But why throw away that much data? That just leaves room for hackers to store stuff.

    Just on this specific point. The reason for the change from cylinder to
    1 MB alignment was to support various new drives, such as those with
    a 4KB blocksize, those that have a 512B logical blocksize but have a
    4KB physical blocksize, and ssd drives where the write block varies in
    size, but always has an integer number of write blocks in a 1MB block.

    Using the old cylinder alignment causes a massive reduction in write performance. When the write block does not align with the underlying
    physical block size, each logical write requires 2 reads, merging of
    the updated data with the two blocks read from the device, and then two
    writes. That's all handled by the drive controller, which is very slow
    compared to the main cpu.

    Using a 1MB alignment for partitions allows new drives to avoid the
    massive slowdown, while using a small amount of space in older drives
    that do not require the alignment. It's a trade off for the default
    values. Most partitioning software will allow you to override the
    alignment, if you know what you're doing and really want that tiny
    amount of extra space for file systems.

    It doesn't matter which os is being used. What does matter is the
    age of the tools. Older tools only do cylinder alignment, while
    newer tools use 1MB alignment.

    See https://www.thomas-krenn.com/en/wiki/Partition_Alignment if you
    want more detailed info.

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Carlos E. R. on Sat May 13 01:19:40 2017
    On 2017-05-12, Carlos E. R. <robin_listas@es.invalid> wrote:
    On 2017-05-13 00:22, William Unruh wrote:
    On 2017-05-12, Charles T. Smith <cts.private.yahoo@gmail.com> wrote:
    I bought a 3T drive which was prepartitioned with fat32.

    Firstly, disk drive makers label their drives with the size in ordinary
    decimal numbers. Thus 3TB is 3 10^12 bytes, not 2^40= 3.3x10^12. Thus
    3TB dive is what in computer speak would be about 2.7TB (which is what
    Linux measures things in terms of)

    Nope :-)

    "Thus 3TB dive is what in computer speak would be about 2.7TiB"

    Nope. While there is an attempt to use the TiB it has not really caught
    on.

    Eg,
    info:0[unruh]>df -h
    Filesystem Size Used Avail Use% Mounted on
    devtmpfs 3.9G 0 3.9G 0% /dev
    tmpfs 3.9G 341M 3.6G 9% /dev/shm
    tmpfs 3.9G 1.2M 3.9G 1% /run
    ...

    versus
    df
    Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 4020552 0 4020552 0% /dev
    tmpfs 4026932 348212 3678720 9% /dev/shm
    tmpfs 4026932 1152 4025780 1% /run


    du -sh .
    82G

    versus
    du -s
    85668140



    From Amazon.com
    Corsair Vengeance LPX 16GB (2x8GB) DDR4 DRAM 3000MHz C15 Desktop

    etc. Yes, some people did make an attempt to alter the language, but as
    with all pedantic attempts it has largely failed.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Carlos E. R. on Sat May 13 02:40:25 2017
    On 2017-05-13, Carlos E. R. <robin_listas@es.invalid> wrote:
    On 2017-05-13 00:58, Bobbie Sellers wrote:

    Well you are dealing with FAT 32 which does not support as many file
    attributes and permissions as Linux. As someone else mentions the
    new standard in Linux is 1 megabyte boundaries. Actually the way the
    hard disk is designated is wasting a lot of space because you might
    expect 3 TB but you are getting something like 2.75 TB due to the
    discrepancy between the advertising and the reality.

    Wow!

    No, not at all.

    The disk advertises 3 TB, and it has 3 * 10E12 bytes. A bit more,
    actually: what fdisk says is "3000.6 GB, 3000592982016 bytes". It has
    exactly the advertised size and a bit more.

    Computer people have used KMBT for 30 years to mean 2^{10,20,30,40}
    Depite this the disk people use them to mean powers of 10 because it
    made them seem bigger, not because they were pedantically using the SI definition of those units.


    Your confusion comes from the computer people using binary units and multipliers not saying it, whereas the disk people don't.

    Why do they need to say it,since that nomenclature has been used for
    years in the computer field. Disk people do not use it because they can
    confuse people by not using the standards of the computer field because
    it makes the disks seem bigger.




    The multiplier T, tera, is 1×10¹², or 1000⁴, the same for bytes, grams, metres, etc. Do not confuse with Ti, Tebi = 1024⁴

    It is for grams, meters, etc. for memory etc they are powers of 2.

    Take those 3000592982016 bytes bytes, and divide by
    (1024*1024*1024*1024) and you get the familiar figure of 2.73, which is
    not TB but TiB.

    https://en.wikipedia.org/wiki/Tebibyte


    Like it or not, those are the official numbers :-)

    Like it or not that is not how they are used in the field.

    Language is use, not pedantant.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to David W. Hodgins on Sat May 13 04:56:19 2017
    On Fri, 12 May 2017 20:30:18 -0400, David W. Hodgins wrote:

    On Fri, 12 May 2017 18:13:48 -0400, Charles T. Smith <cts.private.yahoo@gmail.com> wrote:

    Okay 2^11 + 2^9 == 2^20. But why throw away that much data? That just
    leaves room for hackers to store stuff.

    Just on this specific point. The reason for the change from cylinder to
    1 MB alignment was to support various new drives, such as those with
    a 4KB blocksize, those that have a 512B logical blocksize but have a
    4KB physical blocksize, and ssd drives where the write block varies in
    size, but always has an integer number of write blocks in a 1MB block.
    ...


    That was exactly the point I was asking about. Thank you for a good explanation.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to All on Sat May 13 04:52:38 2017
    On Sat, 13 May 2017 01:28:07 +0200, Aragorn wrote:

    Thank you, that was an excellent and very informative posting

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 09:35:42 2017
    Le 13/05/2017 à 04:40, William Unruh a écrit :
    On 2017-05-13, Carlos E. R. <robin_listas@es.invalid> wrote:

    The disk advertises 3 TB, and it has 3 * 10E12 bytes. A bit more,
    actually: what fdisk says is "3000.6 GB, 3000592982016 bytes". It has
    exactly the advertised size and a bit more.

    Computer people have used KMBT for 30 years to mean 2^{10,20,30,40}

    And they have been wrong all this time. At least for a time they had the
    excuse that binary prefixes fitting their needs did not exist yet and
    the difference between SI and binary prefixes was rather small and could
    be unnoticed before the GB era. Now they don't have this excuse any more.

    The multiplier T, tera, is 1×10¹², or 1000⁴, the same for bytes, grams, >> metres, etc. Do not confuse with Ti, Tebi = 1024⁴

    It is for grams, meters, etc. for memory etc they are powers of 2.

    And there are binary prefixes, which are distinct from SI prefixes.
    Why some computer people refuse to use them to avoid confusion is still
    a mystery to me.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Bobbie Sellers on Sat May 13 08:18:38 2017
    Bobbie Sellers <bliss@mouse-potato.com> writes:
    Windows past version 7 uses UEFI coding and requires that you have
    several additional partitions.

    Windows doesn’t really care what boot protocol the machine uses (UEFI vs BIOS) or how the disk is partitioned (GPT or MBR). I have here a Windows
    10 system booting via BIOS and using MBR partitioning, for example.

    --
    http://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Charles T. Smith on Sat May 13 08:56:27 2017
    "Charles T. Smith" <cts.private.yahoo@gmail.com> writes:
    I bought a 3T drive which was prepartitioned with fat32.

    I created a linux partition, but it looks a lot smaller:

    38c38
    < 42 heads, 63 sectors/track, 276858 cylinders, total 732566646 sectors
    ---
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    45c45
    < /dev/sdc1 8191 732566645 2930233820 83 Linux
    ---
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA)

    The linux partition starts far latter and ends earlier. Am I interpreting that wrong, or is it fdisk(1)'s fault?

    The partition end is easy to explain: it’s the last sector of the disk.

    The partition start is more surprising; it’s fractionally below
    32MB. Usually we would expect to see 1MB here (i.e. the same starting
    position that the origianl format used). fdisk takes account of optimal
    I/O sizes in some of the alignment calculations, so what does the
    following command produce?

    blkid -i /dev/sdc

    A couple of other notes:
    - The partition already existed. There was no need to create the
    partition (unless you wanted to use the last 2646 sectors of the
    disk). Reformatting to ext4 would have been fine, you didn’t have to
    run fdisk at all.
    - You can tell fdisk to use specific starting and finishing sectors,
    rather than accepting the defaults.
    - Posting diffs of fdisk output hides potentially useful
    information. Post the whole output.

    --
    http://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 09:55:48 2017
    Le 13/05/2017 à 01:28, Aragorn a écrit :
    On Saturday 13 May 2017 00:10, Charles T. Smith conveyed the following
    to comp.os.linux.setup...

    I'm an old-fashioned guy, I don't need to be at the bleeding edge.
    MBR is as much as I can handle, and with luck, I can stuck to under 4
    primary partitions. In fact, I expect to format the 3T with a single
    partition - it's just for multigenerational 1Tb tarball backups.

    I'm afraid that won't be possible.


    Indeed. Unless the disk is "Advanced Format" and uses a sector size
    bigger than 512 bytes, the DOS/MBR partition scheme does not allow to
    create partitions bigger that 2 TiB.

    If you want to make use of the full
    capacity of a drive that's larger than 2 TiB ─ note: we're talking of binary capacity here, not decimal ─ then you're going to have to set up
    a GUID partition table (GPT) on it

    There are other available options :
    - Create two partitions. The last one can begin just before the 2 TiB
    limit and have a size up to 2 TiB. This is a hack, supported by
    GNU/Linux but not all systems.
    - Do not use a partition table and create the filesystem directly in the
    full device instead of a partition. Make sure you erase the partition
    table to avoid confusion, as mkfs won't do it (most Linux filesystems
    don't write to the first sector).

    However I do not recommend these options. Using a GPT partition table is
    much safer.

    , with a "protective MBR" and an empty
    (and unformatted/unmounted) "BIOS partition" of about 3 MiB in size
    right after the GPT header. This is so as to make sure that GRUB does
    not overwrite the GPT partition table with its core.img stage.

    1) The BIOS boot partition is useful only on a boot disk with GRUB.
    2) It does not need to be 3 MiB in size. 100 KiB is big enough to
    contain GRUB BIOS core image. The minimum aligned size is 1 MiB, but
    this partition does not need to be aligned.
    3) Although recommended, it is not mandatory in all cases, e.g. if /boot
    is on a standard filesystem partition.

    In any case, GRUB (2) won't write into the sectors reserved to the GPT partition table. I cannot speak for GRUB legacy which does not
    officially support GPT.

    As you have already been advised before, don't use fdisk, but use gdisk
    or gparted instead.

    "Recent" versions of fdisk do handle GPT partition tables just fine.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Pascal Hambourg on Sat May 13 08:57:37 2017
    Pascal Hambourg <pascal@plouf.fr.eu.org> writes:
    And there are binary prefixes, which are distinct from SI prefixes.
    Why some computer people refuse to use them to avoid confusion is
    still a mystery to me.

    We weren’t confused and we don’t see why we should change. There, now it’s not a mystery to you any more.

    --
    http://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 10:02:24 2017
    Le 13/05/2017 à 09:57, Richard Kettlewell a écrit :
    Pascal Hambourg <pascal@plouf.fr.eu.org> writes:
    And there are binary prefixes, which are distinct from SI prefixes.
    Why some computer people refuse to use them to avoid confusion is
    still a mystery to me.

    We weren’t confused

    But you confuse the rest of the world.

    and we don’t see why we should change.

    Computer people against the rest of the world.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 10:05:37 2017
    Le 13/05/2017 à 09:55, Pascal Hambourg a écrit :
    Le 13/05/2017 à 01:28, Aragorn a écrit :
    On Saturday 13 May 2017 00:10, Charles T. Smith conveyed the following
    to comp.os.linux.setup...

    I'm an old-fashioned guy, I don't need to be at the bleeding edge.
    MBR is as much as I can handle, and with luck, I can stuck to under 4
    primary partitions. In fact, I expect to format the 3T with a single
    partition - it's just for multigenerational 1Tb tarball backups.

    I'm afraid that won't be possible.

    Indeed. Unless the disk is "Advanced Format" and uses a sector size
    bigger than 512 bytes, the DOS/MBR partition scheme does not allow to
    create partitions bigger that 2 TiB.

    It appears in an OP's subsequent post that the disk actually has
    4096-byte logical sectors ("4Kn" Advanced Format). So the DOS/MBR scheme
    can be used to create a 3 TiB partition.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Richard Kettlewell@21:1/5 to Pascal Hambourg on Sat May 13 09:06:22 2017
    Pascal Hambourg <pascal@plouf.fr.eu.org> writes:
    Le 13/05/2017 à 09:57, Richard Kettlewell a écrit :
    Pascal Hambourg <pascal@plouf.fr.eu.org> writes:
    And there are binary prefixes, which are distinct from SI prefixes.
    Why some computer people refuse to use them to avoid confusion is
    still a mystery to me.

    We weren’t confused

    But you confuse the rest of the world.

    No, I think mendacious storage manufacturers confused the rest of the
    world.

    --
    http://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 10:12:25 2017
    Le 13/05/2017 03:19, William Unruh a crit :

    Nope. While there is an attempt to use the TiB it has not really caught
    on.

    It is a work in progress.

    Eg,
    info:0[unruh]>df -h

    df --si

    du -sh .

    du --si

    Same with ls.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to William Unruh on Sat May 13 03:36:43 2017
    On 2017-05-13 03:19, William Unruh wrote:
    On 2017-05-12, Carlos E. R. <robin_listas@es.invalid> wrote:
    On 2017-05-13 00:22, William Unruh wrote:
    On 2017-05-12, Charles T. Smith <cts.private.yahoo@gmail.com> wrote:
    I bought a 3T drive which was prepartitioned with fat32.

    Firstly, disk drive makers label their drives with the size in ordinary
    decimal numbers. Thus 3TB is 3 10^12 bytes, not 2^40= 3.3x10^12. Thus
    3TB dive is what in computer speak would be about 2.7TB (which is what
    Linux measures things in terms of)

    Nope :-)

    "Thus 3TB dive is what in computer speak would be about 2.7TiB"

    Nope. While there is an attempt to use the TiB it has not really caught
    on.

    I don't care. It is an official standard. :-P

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 10:27:16 2017
    Le 13/05/2017 à 09:18, Richard Kettlewell a écrit :
    Bobbie Sellers <bliss@mouse-potato.com> writes:
    Windows past version 7 uses UEFI coding and requires that you have
    several additional partitions.

    Windows doesn’t really care what boot protocol the machine uses (UEFI vs BIOS) or how the disk is partitioned (GPT or MBR).

    Actually it does. If the machine uses UEFI, Windows requires that the
    boot disk be partitioned with GPT. Conversely if the machine uses BIOS,
    Windows requires that the boot disk be partitioned with MBR/DOS. Also,
    not all Windows versions are compatible with UEFI or GPT.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to William Unruh on Sat May 13 10:42:54 2017
    On 2017-05-13 04:40, William Unruh wrote:
    On 2017-05-13, Carlos E. R. <robin_listas@es.invalid> wrote:
    On 2017-05-13 00:58, Bobbie Sellers wrote:

    Well you are dealing with FAT 32 which does not support as many file >>> attributes and permissions as Linux. As someone else mentions the
    new standard in Linux is 1 megabyte boundaries. Actually the way the
    hard disk is designated is wasting a lot of space because you might
    expect 3 TB but you are getting something like 2.75 TB due to the
    discrepancy between the advertising and the reality.

    Wow!

    No, not at all.

    The disk advertises 3 TB, and it has 3 * 10E12 bytes. A bit more,
    actually: what fdisk says is "3000.6 GB, 3000592982016 bytes". It has
    exactly the advertised size and a bit more.

    Computer people have used KMBT for 30 years to mean 2^{10,20,30,40}
    Depite this the disk people use them to mean powers of 10 because it
    made them seem bigger, not because they were pedantically using the SI definition of those units.


    Your confusion comes from the computer people using binary units and
    multipliers not saying it, whereas the disk people don't.

    Why do they need to say it,since that nomenclature has been used for
    years in the computer field. Disk people do not use it because they can confuse people by not using the standards of the computer field because
    it makes the disks seem bigger.

    The differences between the the two units is small, a 2%. Not much for
    RAM, more for the bigger sizes of disks. Disk people used the correct
    units and names; computer people invented new use for old units, and it
    was wrong of them to do so.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 10:22:54 2017
    Le 13/05/2017 à 09:56, Richard Kettlewell a écrit :
    "Charles T. Smith" <cts.private.yahoo@gmail.com> writes:
    I bought a 3T drive which was prepartitioned with fat32.

    I created a linux partition, but it looks a lot smaller:

    38c38
    < 42 heads, 63 sectors/track, 276858 cylinders, total 732566646 sectors
    ---
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    45c45
    < /dev/sdc1 8191 732566645 2930233820 83 Linux
    ---
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA)

    The linux partition starts far latter and ends earlier. Am I interpreting >> that wrong, or is it fdisk(1)'s fault?

    The partition end is easy to explain: it’s the last sector of the disk.

    The partition start is more surprising; it’s fractionally below
    32MB. Usually we would expect to see 1MB here (i.e. the same starting position that the origianl format used). fdisk takes account of optimal
    I/O sizes in some of the alignment calculations, so what does the
    following command produce?

    A hint is provided in another of the OP's posts :

    Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    I/O size (minimum/optimal): 4096 bytes / 33550336 bytes
    Disk identifier: 0xeafbbd2f

    Device Boot Start End Blocks Id System
    /dev/sdc1 256 732563999 2930254976 c W95 FAT32 (LBA)

    fdisk seems to think the optimal size is 32 MiB. I suspect it was
    confused by the 4096-byte sector size. Also, this looks like an old
    version. Newer versions print the partition table type.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Richard Kettlewell on Sat May 13 10:45:58 2017
    On 2017-05-13 10:06, Richard Kettlewell wrote:
    Pascal Hambourg <pascal@plouf.fr.eu.org> writes:
    Le 13/05/2017 à 09:57, Richard Kettlewell a écrit :
    Pascal Hambourg <pascal@plouf.fr.eu.org> writes:
    And there are binary prefixes, which are distinct from SI prefixes.
    Why some computer people refuse to use them to avoid confusion is
    still a mystery to me.

    We weren’t confused

    But you confuse the rest of the world.

    No, I think mendacious storage manufacturers confused the rest of the
    world.

    No, some mendacious computer people insist on confusing the rest of the
    world. The industry reached an agreement on what do and declared a
    standard. Just do the right thing and follow the standard. Don't go the Microsoft way of never following standards.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 11:03:57 2017
    Le 13/05/2017 à 02:30, David W. Hodgins a écrit :

    Using the old cylinder alignment causes a massive reduction in write performance.

    Note : this is because the usual (because maximum) logical sector per
    track and head counts are 63 and 255, so the logical cylinder size is 63
    * 255 which does not contain any power of 2.

    The old cylinder alignment has another disadvantage with DOS/MBR
    partition scheme : it only leaves 31 KiB before the first partition,
    which is not always enough to write current GRUB's core image which has inflated due to functionnalities such as btrfs and LVM support.

    When the write block does not align with the underlying
    physical block size, each logical write requires 2 reads, merging of
    the updated data with the two blocks read from the device, and then two writes. That's all handled by the drive controller, which is very slow compared to the main cpu.

    I doubt this has anything to do with controller speed, at least on
    spinning disks. Also, reading and writing two sectors instead of two
    causes marginal penalty. Reading and writing at the same location on a
    spinning disk requires to wait for one complete lap, i.e. about 8 ms at
    7200 RPM or 11 ms at 5400 RPM. This is just huge compared to the actual
    read or write time at current throughputs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 11:14:17 2017
    Le 13/05/2017 à 10:42, Carlos E. R. a écrit :

    Your confusion comes from the computer people using binary units and
    multipliers not saying it, whereas the disk people don't.

    Why do they need to say it,since that nomenclature has been used for
    years in the computer field. Disk people do not use it because they can
    confuse people by not using the standards of the computer field because
    it makes the disks seem bigger.

    The differences between the the two units is small, a 2%.

    2% was between k and Ki. The difference between T and Ti is 10%, which
    is far from negligible.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 11:10:30 2017
    Le 13/05/2017 à 10:45, Carlos E. R. a écrit :

    No, some mendacious computer people insist on confusing the rest of the world.

    I don' think they aim to confuse. As many people, they just selfishly
    refuse to change their old bad habits and just expect the rest of the
    world to adapt to them instead of the other way around.

    The point that strikes me is that it would take them very little effort.
    They are not asked to use decimal calculations instead of binary
    calculations, but just to add the "i" to show when they use binary calculations.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Charles T. Smith on Sat May 13 17:13:27 2017
    "Charles T. Smith" <cts.private.yahoo@gmail.com> wrote:
    I'm an old-fashioned guy, I don't need to be at the bleeding edge. MBR is as >much as I can handle, and with luck, I can stuck to under 4 primary partitions.
    In fact, I expect to format the 3T with a single partition - it's just for >multigenerational 1Tb tarball backups.

    MBR maxes out at 2 TB. Good luck with that 3 T drive.

    Greetings
    Marc
    --
    -------------------------------------- !! No courtesy copies, please !! ----- Marc Haber | " Questions are the | Mailadresse im Header Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/ Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Pascal Hambourg on Sat May 13 17:15:00 2017
    Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    It appears in an OP's subsequent post that the disk actually has
    4096-byte logical sectors ("4Kn" Advanced Format). So the DOS/MBR scheme
    can be used to create a 3 TiB partition.

    I have never seen such a disk. They do exist, but they appear in
    homoepathic doses. I doubt that the OP is correct here. The line
    "Sector Size" in an smartctl --all output of the disk in question
    would help to bring in certainity.

    Greetings
    Marc
    --
    -------------------------------------- !! No courtesy copies, please !! ----- Marc Haber | " Questions are the | Mailadresse im Header Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/ Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Pascal Hambourg on Sat May 13 15:43:23 2017
    On 2017-05-13, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    Le 13/05/2017 à 04:40, William Unruh a écrit :
    On 2017-05-13, Carlos E. R. <robin_listas@es.invalid> wrote:

    The disk advertises 3 TB, and it has 3 * 10E12 bytes. A bit more,
    actually: what fdisk says is "3000.6 GB, 3000592982016 bytes". It has
    exactly the advertised size and a bit more.

    Computer people have used KMBT for 30 years to mean 2^{10,20,30,40}

    And they have been wrong all this time. At least for a time they had the excuse that binary prefixes fitting their needs did not exist yet and
    the difference between SI and binary prefixes was rather small and could
    be unnoticed before the GB era. Now they don't have this excuse any more.

    Ooo. You are obviously of the Proscriptist camp in dictionaries. This is
    what the word should mean no matter what everyone thinks it means.
    Yes, the origin was the fact that 2^10 is very close to 10^3, but in
    things having to do with computers KMGT refer to powers of 2 not powers
    of 10. That has been the useage for at least 40 years and your railing
    in is not going to change that.
    "Everyone is wrong except me" has been the motto of the fanatic forever.



    The multiplier T, tera, is 1×10¹², or 1000⁴, the same for bytes, grams,
    metres, etc. Do not confuse with Ti, Tebi = 1024⁴

    It is for grams, meters, etc. for memory etc they are powers of 2.

    And there are binary prefixes, which are distinct from SI prefixes.
    Why some computer people refuse to use them to avoid confusion is still
    a mystery to me.

    Those binary prefixes were introduced long after the useage was
    established, by pedants who could not tolerate the ambiguity of all
    langauge, by the Sheldons of the computer world.
    Most people are perfectly happy remembering that KMGT in computers is
    powers of 2 while they indicate powers of 10 elsewehere, especially
    since they do not care for accuracy of 10% anyway. K is big, M is
    bigger, G is huge and T in humongous, are about all that is needed. Of
    course things shift. Now adays probably K is tiny, M is moderate, G is
    big and T is bigger. Nobody cares that Ti is 10% bigger than T, and it
    also really really looks ugly.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Pascal Hambourg on Sat May 13 15:53:31 2017
    On 2017-05-13, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    Le 13/05/2017 à 09:57, Richard Kettlewell a écrit :
    Pascal Hambourg <pascal@plouf.fr.eu.org> writes:
    And there are binary prefixes, which are distinct from SI prefixes.
    Why some computer people refuse to use them to avoid confusion is
    still a mystery to me.

    We weren’t confused

    But you confuse the rest of the world.

    No they do not. The rest of the world does not care.


    and we don’t see why we should change.

    Computer people against the rest of the world.

    Yes, because the language arose in the context of computers.
    Many many words have been coopted to mean technical things in a specific
    field. charm, beauty, up , down mean something very specific in the
    context of particle physics, that they do not mean in other technical
    contexts.
    Do you rail against the world because the word sad now means an
    depressed emotional state, rather than the feeling of fullness after a
    good meal? Well I guess you should go around correcting everyone since
    that the latter is what it used to mean before those stupid ignorant
    people perverted the meaning.

    Remember that KMGT in the sense of specific powers of 10were technical abreviations themselves and, as "official" SI designators, not
    much older than their computer meaning.

    The ones causing confusion are the disk people who, knowing full well
    the computer meaning of those initials, went with the decimal version
    because it gave them an advertising advantage, hiding greed behind
    pedantry.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Pascal Hambourg on Sat May 13 15:55:01 2017
    On 2017-05-13, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    Le 13/05/2017 à 10:45, Carlos E. R. a écrit :

    No, some mendacious computer people insist on confusing the rest of the
    world.

    I don' think they aim to confuse. As many people, they just selfishly
    refuse to change their old bad habits and just expect the rest of the
    world to adapt to them instead of the other way around.

    The point that strikes me is that it would take them very little effort.
    They are not asked to use decimal calculations instead of binary calculations, but just to add the "i" to show when they use binary calculations.

    It looks really ugly.



    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Pascal Hambourg on Sat May 13 16:03:05 2017
    On 2017-05-13, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    Le 13/05/2017 à 02:30, David W. Hodgins a écrit :

    Using the old cylinder alignment causes a massive reduction in write
    performance.

    Note : this is because the usual (because maximum) logical sector per
    track and head counts are 63 and 255, so the logical cylinder size is 63
    * 255 which does not contain any power of 2.

    It is C numbering, not Fortran.


    The old cylinder alignment has another disadvantage with DOS/MBR
    partition scheme : it only leaves 31 KiB before the first partition,
    which is not always enough to write current GRUB's core image which has inflated due to functionnalities such as btrfs and LVM support.

    When the write block does not align with the underlying
    physical block size, each logical write requires 2 reads, merging of
    the updated data with the two blocks read from the device, and then two
    writes. That's all handled by the drive controller, which is very slow
    compared to the main cpu.

    I doubt this has anything to do with controller speed, at least on
    spinning disks. Also, reading and writing two sectors instead of two
    causes marginal penalty. Reading and writing at the same location on a spinning disk requires to wait for one complete lap, i.e. about 8 ms at
    7200 RPM or 11 ms at 5400 RPM. This is just huge compared to the actual
    read or write time at current throughputs.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 18:59:41 2017
    Le 13/05/2017 à 18:03, William Unruh a écrit :
    On 2017-05-13, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    Le 13/05/2017 à 02:30, David W. Hodgins a écrit :

    Using the old cylinder alignment causes a massive reduction in write
    performance.

    Note : this is because the usual (because maximum) logical sector per
    track and head counts are 63 and 255, so the logical cylinder size is 63
    * 255 which does not contain any power of 2.

    It is C numbering, not Fortran.

    What are you talking about ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 19:04:44 2017
    Le 13/05/2017 à 17:55, William Unruh a écrit :
    On 2017-05-13, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:

    The point that strikes me is that it would take them very little effort.
    They are not asked to use decimal calculations instead of binary
    calculations, but just to add the "i" to show when they use binary
    calculations.

    It looks really ugly.

    Your opinion noted. IMO, it sounds more ugly thant it looks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 19:18:39 2017
    Le 13/05/2017 à 17:53, William Unruh a écrit :
    On 2017-05-13, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:

    Computer people against the rest of the world.

    Yes, because the language arose in the context of computers.

    It's not language. It's misuse.

    Many many words have been coopted to mean technical things in a specific field. charm, beauty, up , down mean something very specific in the
    context of particle physics, that they do not mean in other technical contexts.

    You cannot compare standardized multiplier prefixes which were designed
    for a specific purpose and usual words.

    In any other scientific and technical field, the multipliers prefixes
    and their symbols have the same meaning. Except in computers (actually
    in a restricted set of computer-related fields). Doesn't it raise a bell
    that something is wrong ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sat May 13 19:33:24 2017
    Le 13/05/2017 17:15, Marc Haber a crit :
    Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    It appears in an OP's subsequent post that the disk actually has
    4096-byte logical sectors ("4Kn" Advanced Format). So the DOS/MBR scheme
    can be used to create a 3 TiB partition.

    I have never seen such a disk.

    Me neither, regretfully.

    They do exist, but they appear in
    homoepathic doses. I doubt that the OP is correct here. The line
    "Sector Size" in an smartctl --all output of the disk in question
    would help to bring in certainity.

    Well, the OP just quoted the output of fdisk :

    Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes

    732566646 sectors * 4096 bytes = 3 TB, so unless the real capacity is
    not 3 TB, I see no reason to doubt. And if the capacity is not 3 TB, the
    OP does not have to bother with the DOS/MBR 2-TiB limit.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to Can you on Sat May 13 19:56:47 2017
    Le 13/05/2017 à 17:43, William Unruh a écrit :

    Those binary prefixes were introduced long after the useage was
    established, by pedants who could not tolerate the ambiguity of all
    langauge, by the Sheldons of the computer world.

    Can you write a post without being offensive or using the word "pedant" ?

    Most people are perfectly happy remembering that KMGT in computers is
    powers of 2 while they indicate powers of 10 elsewehere,

    One problem is what you say is not completely true. KMGT in computers
    are not always powers of 2. You know one area : storage. Another area is
    clock frequencies, bus and network transfer rates. 1 Gbit/s means
    1,000,000,000 bits per second. 1 GHz means 1,000,000,000 cycles per
    second even inside computers.

    Another problem is that computers are not isolated in their own parallel universe. They are in the real world, and interact with it. For example
    they are used to control real-world machines which do not tolerate a 10%
    error margin. Don't you think that using the same meaning for the same
    prefixes and symbols reduces the risk or confusion and error ?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Bobbie Sellers@21:1/5 to Carlos E. R. on Sat May 13 11:14:10 2017
    On 05/13/2017 01:42 AM, Carlos E. R. wrote:
    On 2017-05-13 04:40, William Unruh wrote:
    On 2017-05-13, Carlos E. R. <robin_listas@es.invalid> wrote:
    On 2017-05-13 00:58, Bobbie Sellers wrote:

    Well you are dealing with FAT 32 which does not support as many file >>>> attributes and permissions as Linux. As someone else mentions the
    new standard in Linux is 1 megabyte boundaries. Actually the way the
    hard disk is designated is wasting a lot of space because you might
    expect 3 TB but you are getting something like 2.75 TB due to the
    discrepancy between the advertising and the reality.

    Wow!

    No, not at all.

    The disk advertises 3 TB, and it has 3 * 10E12 bytes. A bit more,
    actually: what fdisk says is "3000.6 GB, 3000592982016 bytes". It has
    exactly the advertised size and a bit more.

    Computer people have used KMBT for 30 years to mean 2^{10,20,30,40}
    Depite this the disk people use them to mean powers of 10 because it
    made them seem bigger, not because they were pedantically using the SI
    definition of those units.


    Your confusion comes from the computer people using binary units and
    multipliers not saying it, whereas the disk people don't.

    Why do they need to say it,since that nomenclature has been used for
    years in the computer field. Disk people do not use it because they can
    confuse people by not using the standards of the computer field because
    it makes the disks seem bigger.

    The differences between the the two units is small, a 2%. Not much for
    RAM, more for the bigger sizes of disks. Disk people used the correct
    units and names; computer people invented new use for old units, and it
    was wrong of them to do so.

    Wrong to do so! It is never wrong to extend the language
    and this was the language we learned from our first computers until
    disks got large enough that the discrepancy between terminologies
    got so marked. I have used mibibytes and Tibibytes in other posts
    and the rest of the subscribers to the list may or may not know
    what I am talking about. My Commodore 64 had 64 Kilobytes of
    memory and it will never be less. My Commodore 128/64 had
    128 Kilobytes and when I added a memory extension it was
    512 Kilobytes. The 5 1/4 inch floppies held only 161 Kilobytes of
    data. Etc. ad lib.

    bliss

    --
    bliss dash SF 4 ever at dslextreme dot com

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Pascal Hambourg on Sun May 14 01:20:48 2017
    On 2017-05-13 18:59, Pascal Hambourg wrote:
    Le 13/05/2017 à 18:03, William Unruh a écrit :
    On 2017-05-13, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    Le 13/05/2017 à 02:30, David W. Hodgins a écrit :

    Using the old cylinder alignment causes a massive reduction in write
    performance.

    Note : this is because the usual (because maximum) logical sector per
    track and head counts are 63 and 255, so the logical cylinder size is 63 >>> * 255 which does not contain any power of 2.

    It is C numbering, not Fortran.

    What are you talking about ?

    That it starts at zero, not one. Ie 0 to 63, ie 64 sectors.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to William Unruh on Sun May 14 01:24:29 2017
    On 2017-05-13 17:53, William Unruh wrote:
    On 2017-05-13, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    Le 13/05/2017 à 09:57, Richard Kettlewell a écrit :
    Pascal Hambourg <pascal@plouf.fr.eu.org> writes:
    And there are binary prefixes, which are distinct from SI prefixes.
    Why some computer people refuse to use them to avoid confusion is
    still a mystery to me.

    We weren’t confused

    But you confuse the rest of the world.

    No they do not. The rest of the world does not care.


    and we don’t see why we should change.

    Computer people against the rest of the world.

    Yes, because the language arose in the context of computers.
    Many many words have been coopted to mean technical things in a specific field. charm, beauty, up , down mean something very specific in the
    context of particle physics, that they do not mean in other technical contexts.
    Do you rail against the world because the word sad now means an
    depressed emotional state, rather than the feeling of fullness after a
    good meal? Well I guess you should go around correcting everyone since
    that the latter is what it used to mean before those stupid ignorant
    people perverted the meaning.

    Remember that KMGT in the sense of specific powers of 10were technical abreviations themselves and, as "official" SI designators, not
    much older than their computer meaning.

    The ones causing confusion are the disk people who, knowing full well
    the computer meaning of those initials, went with the decimal version
    because it gave them an advertising advantage, hiding greed behind
    pedantry.

    No, the disk people are doing it right. It is some computer people who
    insist on doing it wrong. If someone accuses the disk people of such a
    greed, they can be duly formally accused because it is legally false.

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sun May 14 09:02:41 2017
    Le 14/05/2017 à 01:20, Carlos E. R. a écrit :
    On 2017-05-13 18:59, Pascal Hambourg wrote:
    Le 13/05/2017 à 18:03, William Unruh a écrit :
    On 2017-05-13, Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    Le 13/05/2017 à 02:30, David W. Hodgins a écrit :

    Using the old cylinder alignment causes a massive reduction in write >>>>> performance.

    Note : this is because the usual (because maximum) logical sector per
    track and head counts are 63 and 255, so the logical cylinder size is 63 >>>> * 255 which does not contain any power of 2.

    It is C numbering, not Fortran.

    What are you talking about ?

    That it starts at zero, not one. Ie 0 to 63, ie 64 sectors.

    Sector numbering starts at 1 in CHS addressing. <https://en.wikipedia.org/wiki/Cylinder-head-sector#Sectors>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Marc Haber@21:1/5 to Pascal Hambourg on Sun May 14 11:12:59 2017
    Pascal Hambourg <pascal@plouf.fr.eu.org> wrote:
    Well, the OP just quoted the output of fdisk :

    Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes

    After spending five minutes to find a system sufficiently ancient to
    have an fdisk with this output format (Debian jessie is too new), I
    can now confirm that the disks on this system report a sector size of
    512 bytes.

    So the OP has a really really seldomly found disk. One more reason to
    recommend staying with current defaults, as this reduces the chance of incompatibilities with future systems. Using such a colloctor's item
    for backups is curageous.

    Greetings
    Marc
    --
    -------------------------------------- !! No courtesy copies, please !! ----- Marc Haber | " Questions are the | Mailadresse im Header Mannheim, Germany | Beginning of Wisdom " | http://www.zugschlus.de/ Nordisch by Nature | Lt. Worf, TNG "Rightful Heir" | Fon: *49 621 72739834

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sun May 14 12:32:27 2017
    Le 14/05/2017 11:12, Marc Haber a crit :

    Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes

    After spending five minutes to find a system sufficiently ancient to
    have an fdisk with this output format (Debian jessie is too new), I
    can now confirm that the disks on this system report a sector size of
    512 bytes.

    So the OP has a really really seldomly found disk. One more reason to recommend staying with current defaults, as this reduces the chance of incompatibilities with future systems.

    I'd use a more recent version of fdisk which may handle 4Kn disks better.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to Marc Haber on Sun May 14 10:30:32 2017
    On Sat, 13 May 2017 17:13:27 +0200, Marc Haber wrote:

    "Charles T. Smith" <cts.private.yahoo@gmail.com> wrote:
    I'm an old-fashioned guy, I don't need to be at the bleeding edge. MBR is as >>much as I can handle, and with luck, I can stuck to under 4 primary partitions.
    In fact, I expect to format the 3T with a single partition - it's just for >>multigenerational 1Tb tarball backups.

    MBR maxes out at 2 TB. Good luck with that 3 T drive.

    Greetings
    Marc


    To make a *bootable disk*, I presume is meant.

    Mkfs has created a (almost) 3T FS in a (almost) 3T partition.

    This disk is intended just for multigenerational backups (although,
    with having done the exact math, I'm a bit skeptical that I'll be
    able to get 3 generations of my 1T drive on it).

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to Charles T. Smith on Sun May 14 10:32:51 2017
    On Sun, 14 May 2017 10:30:32 +0000, Charles T. Smith wrote:

    On Sat, 13 May 2017 17:13:27 +0200, Marc Haber wrote:

    "Charles T. Smith" <cts.private.yahoo@gmail.com> wrote:
    with having done the exact math, I'm a bit skeptical that I'll be
    ...

    Oops. "*without* having done the exact math"

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to Pascal Hambourg on Sun May 14 10:31:35 2017
    On Sun, 14 May 2017 12:32:27 +0200, Pascal Hambourg wrote:

    Le 14/05/2017 à 11:12, Marc Haber a écrit :

    Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors
    Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes

    After spending five minutes to find a system sufficiently ancient to
    have an fdisk with this output format (Debian jessie is too new), I
    can now confirm that the disks on this system report a sector size of
    512 bytes.

    So the OP has a really really seldomly found disk. One more reason to
    recommend staying with current defaults, as this reduces the chance of
    incompatibilities with future systems.

    I'd use a more recent version of fdisk which may handle 4Kn disks better.


    Hi. What is a 4Kn disk and how better?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sun May 14 13:11:47 2017
    Le 14/05/2017 à 12:31, Charles T. Smith a écrit :

    Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors >>>>> Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    (...)
    I'd use a more recent version of fdisk which may handle 4Kn disks better.

    Hi. What is a 4Kn disk and how better?

    <https://en.wikipedia.org/wiki/Advanced_Format#4Kn>
    Your disk should have the blue logo.

    It's a disk with 4096-byte physical and logical (hence native) sectors
    instead of the traditional 512-byte sectors. 4096 bytes per physical
    sector is better than traditional 512 bytes par sectors because it
    increases the usable capacity by reducing metadata. 4096 bytes per
    logical sector is better than 512e disks' 512 bytes per logical sector
    because it avoid alignment issues between higher level logical blocks
    and physical sector boundaries.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to Pascal Hambourg on Sun May 14 11:22:09 2017
    On Sun, 14 May 2017 13:11:47 +0200, Pascal Hambourg wrote:

    Le 14/05/2017 à 12:31, Charles T. Smith a écrit :

    Disk /dev/sdc: 3000.6 GB, 3000592982016 bytes
    255 heads, 63 sectors/track, 45600 cylinders, total 732566646 sectors >>>>>> Units = sectors of 1 * 4096 = 4096 bytes
    Sector size (logical/physical): 4096 bytes / 4096 bytes
    (...)
    I'd use a more recent version of fdisk which may handle 4Kn disks better. >>
    Hi. What is a 4Kn disk and how better?

    <https://en.wikipedia.org/wiki/Advanced_Format#4Kn>
    Your disk should have the blue logo.

    It's a disk with 4096-byte physical and logical (hence native) sectors instead of the traditional 512-byte sectors. 4096 bytes per physical
    sector is better than traditional 512 bytes par sectors because it
    increases the usable capacity by reducing metadata. 4096 bytes per
    logical sector is better than 512e disks' 512 bytes per logical sector because it avoid alignment issues between higher level logical blocks
    and physical sector boundaries.

    Thanks for the explanation.

    I don't find the logo, though.

    This looks like it (the data from the retailer was totally non-useful):

    https://skinflint.co.uk/intenso-memory-board-3tb-6033511-a1586694.html

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sun May 14 13:55:11 2017
    Le 14/05/2017 à 13:22, Charles T. Smith a écrit :
    On Sun, 14 May 2017 13:11:47 +0200, Pascal Hambourg wrote:

    <https://en.wikipedia.org/wiki/Advanced_Format#4Kn>
    Your disk should have the blue logo.
    (...)
    I don't find the logo, though.

    This looks like it (the data from the retailer was totally non-useful):

    https://skinflint.co.uk/intenso-memory-board-3tb-6033511-a1586694.html

    It is a USB enclosure. The logo must be on the SATA disk inside.
    (No, this is not an invitation to open the enclosure.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to Pascal Hambourg on Sun May 14 11:54:06 2017
    On Sun, 14 May 2017 13:55:11 +0200, Pascal Hambourg wrote:

    Le 14/05/2017 à 13:22, Charles T. Smith a écrit :
    On Sun, 14 May 2017 13:11:47 +0200, Pascal Hambourg wrote:

    <https://en.wikipedia.org/wiki/Advanced_Format#4Kn>
    Your disk should have the blue logo.
    (...)
    I don't find the logo, though.

    This looks like it (the data from the retailer was totally non-useful):

    https://skinflint.co.uk/intenso-memory-board-3tb-6033511-a1586694.html

    It is a USB enclosure. The logo must be on the SATA disk inside.
    (No, this is not an invitation to open the enclosure.)


    ;-)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sun May 14 13:58:41 2017
    Le 14/05/2017 à 13:24, Charles T. Smith a écrit :
    On Sun, 14 May 2017 13:25:21 +0200, Pascal Hambourg wrote:

    It has been reported that some BIOS firmwares cannot access LBA sector
    addresses beyond 2^32 (i.e. 2 TiB with 512-byte sectors). Also, I would
    not be surprised that old BIOS firmwares and boot loaders do not handle
    correctly 4096-byte sectors.

    Oh, you're saying that there really is a non-ignorable 2T limit, but
    given 512b sectors? So, with 4K byte sectors, one would run into the
    same limit at 16T? A sector-count limit?

    Yes. A 2^32 (approximately 4 billion) sector count limit in the MBR/DOS partition scheme, in some BIOS firmwares, and maybe in other software
    and filesystems.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sun May 14 14:01:16 2017
    Le 14/05/2017 à 13:58, Pascal Hambourg a écrit :
    Le 14/05/2017 à 13:24, Charles T. Smith a écrit :
    On Sun, 14 May 2017 13:25:21 +0200, Pascal Hambourg wrote:

    It has been reported that some BIOS firmwares cannot access LBA sector
    addresses beyond 2^32 (i.e. 2 TiB with 512-byte sectors). Also, I would
    not be surprised that old BIOS firmwares and boot loaders do not handle
    correctly 4096-byte sectors.

    Oh, you're saying that there really is a non-ignorable 2T limit, but
    given 512b sectors? So, with 4K byte sectors, one would run into the
    same limit at 16T? A sector-count limit?

    Yes. A 2^32 (approximately 4 billion) sector count limit in the MBR/DOS partition scheme, in some BIOS firmwares, and maybe in other software
    and filesystems.

    This is caused by coding sector addresses as 32-bit integers.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sun May 14 14:03:38 2017
    Le 14/05/2017 à 13:54, Charles T. Smith a écrit :
    On Sun, 14 May 2017 13:55:11 +0200, Pascal Hambourg wrote:

    Le 14/05/2017 à 13:22, Charles T. Smith a écrit :
    On Sun, 14 May 2017 13:11:47 +0200, Pascal Hambourg wrote:

    <https://en.wikipedia.org/wiki/Advanced_Format#4Kn>
    Your disk should have the blue logo.
    (...)
    I don't find the logo, though.

    This looks like it (the data from the retailer was totally non-useful):

    https://skinflint.co.uk/intenso-memory-board-3tb-6033511-a1586694.html

    It is a USB enclosure. The logo must be on the SATA disk inside.
    (No, this is not an invitation to open the enclosure.)


    ;-)

    However, you can try to retrieve the SATA disk model with hdparm -I and
    search its features and pictures online.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Charles T. Smith@21:1/5 to Pascal Hambourg on Sun May 14 11:24:55 2017
    On Sun, 14 May 2017 13:25:21 +0200, Pascal Hambourg wrote:

    Le 14/05/2017 à 12:30, Charles T. Smith a écrit :
    On Sat, 13 May 2017 17:13:27 +0200, Marc Haber wrote:

    MBR maxes out at 2 TB. Good luck with that 3 T drive.

    (Note : with traditional 512-byte sectors)

    To make a *bootable disk*, I presume is meant.

    Booting is yet another story, involving the system firmware (BIOS or
    UEFI in the PC world).

    It has been reported that some BIOS firmwares cannot access LBA sector addresses beyond 2^32 (i.e. 2 TiB with 512-byte sectors). Also, I would
    not be surprised that old BIOS firmwares and boot loaders do not handle correctly 4096-byte sectors.


    Oh, you're saying that there really is a non-ignorable 2T limit, but
    given 512b sectors? So, with 4K byte sectors, one would run into the
    same limit at 16T? A sector-count limit?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Pascal Hambourg@21:1/5 to All on Sun May 14 13:25:21 2017
    Le 14/05/2017 à 12:30, Charles T. Smith a écrit :
    On Sat, 13 May 2017 17:13:27 +0200, Marc Haber wrote:

    MBR maxes out at 2 TB. Good luck with that 3 T drive.

    (Note : with traditional 512-byte sectors)

    To make a *bootable disk*, I presume is meant.

    Booting is yet another story, involving the system firmware (BIOS or
    UEFI in the PC world).

    It has been reported that some BIOS firmwares cannot access LBA sector addresses beyond 2^32 (i.e. 2 TiB with 512-byte sectors). Also, I would
    not be surprised that old BIOS firmwares and boot loaders do not handle correctly 4096-byte sectors.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From William Unruh@21:1/5 to Charles T. Smith on Sun May 14 15:29:08 2017
    On 2017-05-14, Charles T. Smith <cts.private.yahoo@gmail.com> wrote:
    On Sat, 13 May 2017 17:13:27 +0200, Marc Haber wrote:

    "Charles T. Smith" <cts.private.yahoo@gmail.com> wrote:
    I'm an old-fashioned guy, I don't need to be at the bleeding edge. MBR is as
    much as I can handle, and with luck, I can stuck to under 4 primary partitions.
    In fact, I expect to format the 3T with a single partition - it's just for >>>multigenerational 1Tb tarball backups.

    MBR maxes out at 2 TB. Good luck with that 3 T drive.

    Greetings
    Marc


    To make a *bootable disk*, I presume is meant.

    Mkfs has created a (almost) 3T FS in a (almost) 3T partition.

    This disk is intended just for multigenerational backups (although,
    with having done the exact math, I'm a bit skeptical that I'll be
    able to get 3 generations of my 1T drive on it).


    Use rsnapshot and you will get 100 generations on it. (rsnapshot uses
    hard links for files which have not changed thus using no extra space
    for those.) The disadvantage is that if one of the generations of one of
    the files developes a fault, all the generations do. The advantags is
    that you can fit many manygenerations onto a fixed bit of real estate.
    (I have 7 years and about 20 generations of backup on 1/2 a TB)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Carlos E. R.@21:1/5 to Pascal Hambourg on Mon May 15 04:01:29 2017
    On 2017-05-14 09:02, Pascal Hambourg wrote:
    Le 14/05/2017 à 01:20, Carlos E. R. a écrit :
    On 2017-05-13 18:59, Pascal Hambourg wrote:
    Le 13/05/2017 à 18:03, William Unruh a écrit :


    It is C numbering, not Fortran.

    What are you talking about ?

    That it starts at zero, not one. Ie 0 to 63, ie 64 sectors.

    Sector numbering starts at 1 in CHS addressing. <https://en.wikipedia.org/wiki/Cylinder-head-sector#Sectors>

    Then it will be Fortran numbering :-)

    --
    Cheers,
    Carlos E.R.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Jimmy Johnson@21:1/5 to All on Mon Nov 13 14:05:36 2017
    No, it's completely custom for your needs. What are your needs?


    --
    Jimmy Johnson

    Ubuntu 14.04 LTS - KDE 4.13.2 - AMD A8-7600 - EXT4 at sda1
    Registered Linux User #380263

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From The Natural Philosopher@21:1/5 to Jimmy Johnson on Tue Nov 14 07:07:53 2017
    On 13/11/17 22:05, Jimmy Johnson wrote:
    No, it's completely custom for your needs.  What are your needs?


    Probably long met or forgotten. This thread is 6 months old.


    --
    Outside of a dog, a book is a man's best friend. Inside of a dog it's
    too dark to read.

    Groucho Marx

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)