LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-05-2005, 09:12 AM   #1
p0tw0r
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Rep: Reputation: 0
fdisk File size limit exceeded


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)
 
Old 05-05-2005, 09:31 AM   #2
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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)?
 
Old 05-05-2005, 09:49 AM   #3
p0tw0r
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Original Poster
Rep: Reputation: 0
I ment partitioning, and I do need 7 partitions on this drive (40Gig).

Maybe I have reached the limit of what?? Fdisk won't write more than 1 logical partition on this drive - is that the limit?
 
Old 05-05-2005, 11:14 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
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?
 
Old 05-06-2005, 02:35 AM   #5
p0tw0r
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Original Poster
Rep: Reputation: 0
I've tried all this - cfdisk, enabling USB 2.0, deleting all partitions and trying to create new ones - nothig works for me...
 
Old 05-06-2005, 03:34 AM   #6
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
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.
 
Old 05-06-2005, 09:08 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
If you are only creating logical partitions is the extended partition the size of the entire disk?

Make sure you are really trying to create a logical partiton. i.e. IDs are >=5.
 
Old 05-06-2005, 09:22 AM   #8
p0tw0r
LQ Newbie
 
Registered: Apr 2005
Posts: 8

Original Poster
Rep: Reputation: 0
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?
 
Old 05-06-2005, 09:37 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,592

Rep: Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880Reputation: 5880
It could be a USB related problem. I've never tried to partition a USB drive into 7 partitions.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File size limit exceeded XaViaR Linux - General 4 09-21-2005 10:02 PM
SquirrelMail : File size limit exceeded cyberjames Slackware 2 03-14-2005 04:10 AM
file size limit exceeded mchitrakar Linux - General 2 10-12-2004 12:47 PM
File size limit exceeded npuetz Linux - General 5 10-06-2004 07:34 AM
File size limit exceeded... Faeroon Linux - General 20 01-02-2003 06:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration