issue at partitionning

issue at partitionning

Postby pleuk » Wed Jan 15, 2014 4:13 pm

I am facing an issue with fdisk (gnu-fdisk): fdisk doesn't allow me to enter the right sector values. When I enter the values mentionned in the pdf and accept modifications proposed by fdiskI get senseless partition values:

Disk /dev/sdb: 500 GB, 500105249280 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 1 33 265041 83 Linux
Warning: Partition 1 does not end on cylinder boundary.
/dev/sdb2 33 65 257040 83 Linux
Warning: Partition 2 does not end on cylinder boundary.
/dev/sdb3 65 97 257040 82 Linux swap
Warning: Partition 3 does not end on cylinder boundary.
/dev/sdb4 97 60801 487604880 f Extended LBA
/dev/sdb5 98 144 369495 83 Linux
Warning: Partition 5 does not end on cylinder boundary.
/dev/sdb6 145 146 8032 83 Linux
Warning: Partition 6 does not end on cylinder boundary.
/dev/sdb7 146 179 265072 83 Linux
Warning: Partition 7 does not end on cylinder boundary.
/dev/sdb8 179 60801 486946215 83 Linux
Warning: Partition 8 does not end on cylinder boundary.

Can you give me a workaround or some softwart that can do the job?
pleuk
 

Re: issue at partitionning

Postby Jocko » Wed Jan 15, 2014 6:07 pm

Hi pleuk,

You don't use the right values !
See in the Howtodo
Code: Select all
/dev/sdb1   1      32   257008+  83 Linux
/dev/sdb2  33      64   257040   83 Linux
/dev/sdb3  65      96   257040   82 Linux swap
/dev/sdb4  97  121601    9xxxx+   5 Extended
/dev/sdb5  97     144   385528+  83 Linux
/dev/sdb6 145     145     8001   83 Linux
/dev/sdb7 146     178   257040   83 Linux
/dev/sdb8 179  121601   9xxxxx   83 Linux
For example, partition1 ends to 32 and partition2 starts with the value 33

In your table last cylinder of the partition n = first cylinder of partition n+1 !!!
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: issue at partitionning

Postby pleuk » Sun Jan 19, 2014 8:25 pm

Thanks for replying.
I know the values are wrong but it's what I get when I enter the good values.
Clearly speaking whent I enter "32" for the end of partition 1 FDISK gives ma a "33" ! If I enter "33" I get "32" but the workaround doesnt work for the next patitions.
Maybe something is wrong whit my disk (cluster size or some low level thing???)
If someone can help !
pleuk
 

Re: issue at partitionning

Postby Jocko » Mon Jan 20, 2014 10:11 am

Yes I read too quickly your original post.

For me, you should try to use another version of fdisk and see if you have the same behavior : for example by using bootable CD
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: issue at partitionning

Postby nours » Sat Mar 15, 2014 12:22 pm

Hi !

I think the problem is the same as mine... Try with the '-u=cylinders' option when you use fdisk :
sudo fdisk -u=cylinders /dev/sdb

The default unit for recent fdisk is sector and the HowTo uses cylinders unit...

Patrice.

PS : Sorry for my english... I'm french and need to improve it (And you don't listen my accent :hail)!
nours
 
Posts: 1
Joined: Sat Mar 15, 2014 9:06 am

Re: issue at partitionning

Postby fvdw » Sat Mar 15, 2014 12:29 pm

when fdisk is running you cangive the command "u" (without the quotes) to toggle between sectors and cylinders
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands


Return to Lacie Network Space vs1

Who is online

Users browsing this forum: No registered users and 6 guests

cron