Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to format external USB drive (/dev/sda).
Just one extended partition and 7 logical volumes on it. Creating of extended partition and first logical goes well, but when I can't create any more - i get File size limit exceeded while trying to write the partition table.
I'm using SuSE SLES 7 2.4.7 kernel, usb 2.0 support is disabled in BIOS.
I've googled many post like mine, but can't find any actual solution (or I don't understand it - newbie here)
I do not understand why you want so many partitions on a USB disk. Maybe you have reached the limit? You could try setting it up as fewer partitions, then format each partition with mk2fs, or whatever filesystem you wish to create. Are you confusing partitioning (which is what you use fdisk for) with formatting ie creating a filesystem on a particular partition (eg /dev/sda1)?
From man fdisk: "IDE disks can have up to 63 partitions, SCSI disks up to 15. See also /usr/src/linux/Documentation/devices.txt"
Your USB disk is treated as a SCSI disk (/dev/sda), so I guess your limit should be 15 partitions. But I have also heard that you can have a maximum of 4 Primary partitions, the rest must be Extended / Logical. You might try deleting the partitions you have already created, and starting again.
Perhaps you should try using cfdisk instead of fdisk, maybe that is different?
Also, why have you disabled USB 2.0 support in the BIOS? Maybe you should try enabling this?
A 40 gigabyte hard drive should be easily read by 2.4.x kernels, so why are you spliting it into 7 partitions on usb storage device. Kernel version 2.4.x can handle up to 120 GB without re-compiling the kernel. You have to have at least one primary partition. Then the rest can be logical partitions in the extended partition.
cfdisk is fdisk.
I have made 3 primary partitions and 6 logical partitions. If my math is right, it will be 9 partitions. Can anybody check my math.
extended partition covers whole disk and I'm starting with /dev/sda5
interesting thing is that i have this problem only on few machines, other ones do ok.
I am sure that hard drives are ok, I can format them under windows without any problems.
Could it be possible that the problem is rather with usb-manager or other usb-releted module?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.