Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sparc partition w/fdisk. What is 'u' flag?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc
View previous topic :: View next topic  
Author Message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Mon Mar 08, 2004 11:23 pm    Post subject: Sparc partition w/fdisk. What is 'u' flag? Reply with quote

I'm trying to troubleshoot my ultra2 install. I'm looking back at my fdisk partitions. What is the 'u' flag...and how is it set? What is its significance?

Here's my present set up again...

First disc.

Disk /dev/sda (Sun disk label): 27 heads 133 sectors, 4924 cylinders
Units = cylinders of 3591 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sda1 0 17 30523+ 83 Linux native
/dev/sda2 u 18 296 499149 82 Linux swap
/dev/sda3 0 4924 8841042 5 Whole disk
/dev/sda4 u 297 4924 8307778+ 83 Linux native


The 2nd disk:

Disk /dev/sdb (Sun disk label): 27 heads 133 sectors, 4924 cylinders
Units = cylinders of 3591 * 512 bytes
Device Flag Start End Blocks Id System
/dev/sdb1 0 1088 1953504 83 Linux native
/dev/sdb2 1089 4924 6885742+ 83 Linux native
/dev/sdb3 0 4924 8841042 5 Whole disk

Anything here that could be blowing it up on emerge sync?

TIA,

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Raide
n00b
n00b


Joined: 13 Aug 2003
Posts: 27
Location: State College, PA

PostPosted: Wed Mar 10, 2004 3:04 pm    Post subject: Reply with quote

yeah same question here... I'm doing an initial install (my first time with SCSI disks) and would like to make sure I don't have a problem off the bat.

Code:

   Device Flag    Start       End    Blocks   Id  System
/dev/sda1             0        29     31320   83  Linux native
/dev/sda2  u         29       492    500040   82  Linux swap
/dev/sda3             0      3880   4190400    5  Whole disk
/dev/sda4           492      3880   3659040   83  Linux native


edit: ew looking at that now, it looks like my end blocks are going to conflict with my start blocks... better not write it just yet...

edit 2: well it looks like the default selection for me is to have the start block of each new partition equal to the end block of the previous one. is that a bug or just this drive being wierd?
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Wed Mar 10, 2004 3:38 pm    Post subject: Not sure... Reply with quote

Quote:
edit: ew looking at that now, it looks like my end blocks are going to conflict with my start blocks... better not write it just yet...

edit 2: well it looks like the default selection for me is to have the start block of each new partition equal to the end block of the previous one. is that a bug or just this drive being wierd?


I never got an answer for the 'u'. But, from other posts I'd read...they should NOT overlap. When using fdisk on x86 boxes with IDE drives...it always defaulted to non-overlapping...but, you have to watch it with the install of scsi ones on Sun boxes at least...from what I've been able to acertain...

HTH,

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Wed Mar 10, 2004 6:11 pm    Post subject: Reply with quote

As to 'u': According to the 'fdisk' source, it means "unmountable," but that
can't be quite right: I (and it looks like you, too) also get the flag set
for the '/' partition. And I get it for an nfs partition as well.

So, it must be something like "unmountable, not unmountable, or someone
set the flag bit."

As to partition overlap: They don't. Where fdisk talks about
Code:


Disk /dev/sdb (Sun disk label): 12 heads, 303 sectors, 9770 cylinders
Units = cylinders of 3636 * 512 bytes

   Device Flag    Start       End    Blocks   Id  System
/dev/sdb1             0         9     16362   83  Linux native
/dev/sdb2  u          9       284    499950   82  Linux swap
/dev/sdb3             0      9770  17761860    5  Whole disk
/dev/sdb4           284      3776   6348456   83  Linux native
/dev/sdb5          3776      9770  10897092   83  Linux native

'Start' and 'End', it is really showing 'Start' and 'Start+size', so that
'End'=last-1.

Hope this helps.
Back to top
View user's profile Send private message
cayenne
l33t
l33t


Joined: 17 Oct 2002
Posts: 945
Location: New Orleans

PostPosted: Thu Mar 11, 2004 12:23 am    Post subject: Reply with quote

Oh oh.....I set my start and finish to be 1 off from each other...is that going to bite me in the ass later down the line?

ex

sda1 start 0 end 17
sda2 start 18 end 222

??

TIA,

cayenne
_________________
Light travels faster than sound. This is why some people appear bright until you hear them speak.........
Back to top
View user's profile Send private message
Ferris
Retired Dev
Retired Dev


Joined: 13 Jan 2003
Posts: 426
Location: N. Virginia (USA)

PostPosted: Thu Mar 11, 2004 4:07 pm    Post subject: Reply with quote

No, you just won't be using everything you could. (I meant that
End=last+1, so that End is really where you could start the next partition. I
hope I didn't confuse anyone.)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on Sparc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum