[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
Another workaround is to use ddisk, which appears to be the util-linux version of fdisk on ppc. Confusing! I agree it would be nice to get rid of mac-fdisk completely. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mac-fdisk/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
I could able to create partitions on large disk using 'parted' command. root@ubuntu:~# parted -l Model: QEMU QEMU HARDDISK (scsi) Disk /dev/sda: 1143GB Sector size (logical/physical): 512B/512B Partition Table: msdos Number Start End Size Type File system Flags 1 32.3kB 100GB 100GB primary ext3 2 100GB 500GB 400GB primary 3 501GB 1000GB 499GB primary 4 1000GB 1143GB 143GB primary If fdisk is not maintained to support ubuntu, we will use parted, so we can close this bug. Thanks -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mac-fdisk/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
** Changed in: mac-fdisk (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mac-fdisk/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
So on ppc, fdisk is provided by the mac-fdisk package, which appears to be long unmaintained and falling apart. It should probably be removed as soon as we finally update util-linux, which I believe now has mac partition table support upstream. In the mean time, use parted rather than fdisk. ** No longer affects: linux (Ubuntu) ** Package changed: util-linux (Ubuntu) => mac-fdisk (Ubuntu) ** Changed in: mac-fdisk (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mac-fdisk/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
Also, can you try using parted instead of fdisk? ** Changed in: linux (Ubuntu) Status: Confirmed => Incomplete ** Changed in: util-linux (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
That does not appear to be util-linux''s fdisk. What does dpkg -S `which fdisk` show? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
** Changed in: util-linux (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
user@ubuntu:~$ sudo fdisk -v fdisk v2.1 (>4GB) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
This is very strange.. fdisk has defaulted to using sectors rather than the long obsolete/nonsense cylinders for quite some time now. Please run fdisk -v and post the output. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
Adding util-linux as this is likely an fdisk bug. ** Also affects: util-linux (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
** Tags added: ppc64el -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
It affects an essential hardware component (disk controller, built-in networking, video card, keyboard, mouse). ** Changed in: linux (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
** Changed in: linux (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
Please mark this High. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1288564 Title: [beta1] tool fdisk do not support disks with more than 65535 cylinders To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1288564/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1288564] Re: [beta1] tool fdisk do not support disks with more than 65535 cylinders
apport information ** Tags added: apport-collected ** Description changed: Description: == Installed Ubuntu beta1 build ISO on a Power 8 machine as a KVM guest Trying to create partition on a 1 tera byte scsi disk using fdisk, but could not create as the cylinders are not shown if it is more than 65535. also, uname -a Linux ubuntu 3.13.0-14-generic #34-Ubuntu SMP Thu Feb 27 22:35:16 UTC 2014 ppc64le ppc64le ppc64le GNU/Linux Detail logs user@ubuntu:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:00 1T 0 disk vda253:0080G 0 disk ├─vda1 253:10 7M 0 part ├─vda2 253:20 76.7G 0 part / └─vda3 253:30 3.3G 0 part > create parition on sda using fdisk root@ubuntu:~# fdisk /dev/sda The number of cylinders for this disk is set to 65535. This is larger than 1024, and may cause problems with: 1) software that runs at boot time (e.g., LILO) 2) booting and partitioning software form other OSs (e.g., DOS FDISK, OS/2 FDISK) Warning: invalid flag 7300 of partition table 4 will be corrected by w(rite) Command (m for help): p Disk /dev/sda: 255 heads, 63 sectors, 65535 cylinders Units = cylinders of 16065 * 512 bytes Device Boot BeginStart End Blocks Id System Command (m for help): n Command action e extended p primary partition (1-4) p Partition number (1-4): 1 First cylinder (1-65535): 1 Last cylinder or +size or +sizeM or +sizeK ([1]-65535): 65535 => cannot select more than 65535 as I want to create more partition using all cylinders of the disk Command (m for help): p Disk /dev/sda: 255 heads, 63 sectors, 65535 cylinders Units = cylinders of 16065 * 512 bytes Device Boot BeginStart End Blocks Id System /dev/sda11165535526409856 83 Linux native Command (m for help): w The partition table has been altered! Calling ioctl() to re-read partition table. (Reboot to ensure the partition table has been updated.) Syncing disks. WARNING: If you have created or modified any DOS 6.x partitions, please see the fdisk manual page for additional information. ===> check if the parition is created root@ubuntu:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:00 1T 0 disk ├─sda1 8:10 502G 0 part ├─sda2 8:20 208G 0 part ├─sda3 8:30 176G 0 part └─sda4 8:40 144G 0 part > dmesg logs: [ 104.576752] type=1006 audit(1394083820.277:27): pid=844 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=1 res=1 [ 246.220015] sda: sda1 sda2 sda3 sda4 [ 246.220772] sda: p2 size 1811966464 extends beyond EOD, enabling native capacity [ 246.222415] sda: sda1 sda2 sda3 sda4 [ 246.222541] sda: p2 size 1811966464 extends beyond EOD, truncated [ 246.222619] sda: p3 size 1879076352 extends beyond EOD, truncated [ 246.222673] sda: p4 size 1946186240 extends beyond EOD, truncated [ 248.252926] sda: sda1 sda2 sda3 sda4 [ 248.253858] sda: p2 size 1811966464 extends beyond EOD, truncated [ 248.253930] sda: p3 size 1879076352 extends beyond EOD, truncated [ 248.253995] sda: p4 size 1946186240 extends beyond EOD, truncated [ 456.215618] type=1006 audit(1394084171.917:28): pid=914 uid=0 old auid=4294967295 new auid=1000 old ses=4294967295 new ses=2 res=1 [ 560.438928] kjournald starting. Commit interval 5 seconds > Problem : I did not create the last 3 partition and they are not in size as I need, so fdisk tool needs support for the large disk > my guest xml spartan_b1_disktest 4b1d8ea3-5674-c98c-dd21-a42172b46070 2097152 2097152 1 /machine hvm destroy restart restart /usr/bin/qemu-kvm system_u:system_r:svirt_t:s0:c51,c857 system_u:object_r:svirt_image_t:s0:c51,c857 Please let me know if you need more information Thanks + --- + AlsaDevices: Error: command ['ls', '-l', '/dev/snd/'] failed with exit code 2: ls: cannot access /dev/snd/: No such file or directory + AplayDevices: Error: [Errno 2] No such file or directory + ApportVersion: 2.13.2-0ubuntu5 + Architecture: ppc64el + ArecordDevices: Error: [Errno 2] No such file or directory + CRDA: Error: [Errno 2] No such file or directory + DistroRelease: Ubuntu 14.04 + HibernationDe