Re: disklabel output format ? How to see in G M ..

2009-04-30 Thread Jerry McAllister
On Thu, Apr 30, 2009 at 08:51:13PM +0300, Anonymous wrote:

> 
> Using disklabel -A /dev/da0s1  I would like to see the sizes in G or M  
> format, how can I do this?
> Also, googling arround i found output showing the cylinder space occupied  
> by a partition (like :
>  # cyl* X - Y ). How do I see that ?
> PS: i did man disklabel and bsdlabel but i didnt find the correct  
> arguments.
> thank you.

I don't know if it will display them that way, but you can 
enter them as 100M or 12G or whatever is appropriate when
you are creating partitions.

jerry

> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: disklabel output format ? How to see in G M ..

2009-04-30 Thread Richard DeLaurell
On Thu, Apr 30, 2009 at 12:51 PM, Anonymous  wrote:

> Also, googling arround i found output showing the cylinder space occupied
> by a partition (like :
>  # cyl* X - Y ). How do I see that ?


I think that fdisk will show you this.

Good luck--
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


disklabel output format ? How to see in G M ..

2009-04-30 Thread Anonymous


Using disklabel -A /dev/da0s1  I would like to see the sizes in G or M  
format, how can I do this?
Also, googling arround i found output showing the cylinder space occupied  
by a partition (like :

 # cyl* X - Y ). How do I see that ?
PS: i did man disklabel and bsdlabel but i didnt find the correct  
arguments.

thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: disklabel output

2006-03-03 Thread Giorgos Keramidas
On 2006-03-03 10:02, Grant Peel <[EMAIL PROTECTED]> wrote:
> This drive is a SCSI 74 GIG drive.
>
> The machine has been freezing on me lately, out of the blue,
> with no log errors enetered. No crash dumps created. The only
> fix is to cold boot.
>
> Here is the disklabel output Should I be worried?
>
> root on s1# disklabel /dev/da0s1
> # /dev/da0s1:
> 8 partitions:
> #size   offsetfstype   [fsize bsize bps/cpg]
>  a:   2097152  20971524.2BSD 2048 16384 28552
>  b:   20971520  swap
>  c: 1433639970unused0 0 # "raw" part, don't 
> edit
>  d:   4194304  41943044.2BSD 2048 16384 28552
>  e:  12582912  83886084.2BSD 2048 16384 28552
>  f: 122392477 209715204.2BSD 2048 16384 28552
> root on s1#
>
> root on s1# disklabel /dev/da0s1a
> disklabel: /dev/da0s1a: no valid label found

The /dev/da0s1a device *is* already part of a disk label.  You
shouldn't normally install a label or use any 'label' found on
the start of such a partition.

> root on s1# disklabel /dev/da0s1b
> root on s1# disklabel /dev/da0s1c
> root on s1# disklabel /dev/da0s1d

Similarly, looking at a 'label' here doesn't help at all.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


disklabel output

2006-03-03 Thread Grant Peel

This drive is a SCSI 74 GIG drive.

The machine has been freezing on me lately, out of the blue, with no log 
errors enetered. No crash dumps created. The only fix is to cold boot.


Here is the disklabel output Should I be worried?

root on s1# disklabel /dev/da0s1
# /dev/da0s1:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  2097152  20971524.2BSD 2048 16384 28552
 b:  20971520  swap
 c: 1433639970unused0 0 # "raw" part, don't 
edit

 d:  4194304  41943044.2BSD 2048 16384 28552
 e: 12582912  83886084.2BSD 2048 16384 28552
 f: 122392477 209715204.2BSD 2048 16384 28552
root on s1#

root on s1# disklabel /dev/da0s1a
disklabel: /dev/da0s1a: no valid label found

root on s1# disklabel /dev/da0s1b
# /dev/da0s1b:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  2097152  20972154.2BSD 2048 16384 28552
 b:  2097152   63  swap
 c: 143363997   63unused0 0 # "raw" part, don't 
edit

 d:  4194304  41943674.2BSD 2048 16384 28552
 e: 12582912  83886714.2BSD 2048 16384 28552
 f: 122392477 209715834.2BSD 2048 16384 28552
partition a: offset past end of unit
partition a: partition extends past end of unit
partition b: partition extends past end of unit
partition c: partition extends past end of unit
disklabel: partition c doesn't start at 0!
disklabel: partition c doesn't cover the whole unit!
disklabel: An incorrect partition c may cause problems for standard system 
utilities

partition d: offset past end of unit
partition d: partition extends past end of unit
partition e: offset past end of unit
partition e: partition extends past end of unit
partition f: offset past end of unit
partition f: partition extends past end of unit

root on s1# disklabel /dev/da0s1c
# /dev/da0s1c:
8 partitions:
#size   offsetfstype   [fsize bsize bps/cpg]
 a:  2097152  20972154.2BSD 2048 16384 28552
 b:  2097152   63  swap
 c: 143363997   63unused0 0 # "raw" part, don't 
edit

 d:  4194304  41943674.2BSD 2048 16384 28552
 e: 12582912  83886714.2BSD 2048 16384 28552
 f: 122392477 209715834.2BSD 2048 16384 28552
partition c: partition extends past end of unit
disklabel: partition c doesn't start at 0!
disklabel: An incorrect partition c may cause problems for standard system 
utilities

partition f: partition extends past end of unit
root on s1# disklabel /dev/da0s1d
disklabel: /dev/da0s1d: no valid label found


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"