View Single Post
  #1   (View Single Post)  
Old 13th June 2009
gosha gosha is offline
Spam Deminer
 
Join Date: Jun 2008
Location: China
Posts: 256
Default external drive partition question + fdisk question

Ok, I've finally bought myself a new drive which I'll use for backup and simply as extra memory.

It is 1T and has a big fat32 partition. I would like to make smaller partitions, maybe four (if I understand right this is the maximum for fdisk).
I've used fdisk before to install OpenBSD and I know that the partition must start at sector 63.
Is it the same for a non bootable drive? Is it fine to start from head 0 sector 1? Like here:
Code:
$ fdisk sd0 
Disk: sd0	geometry: 121601/255/63 [1953525168 Sectors]
Offset: 0	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 83      0   0   1 -  32635 106  47 [           0:   524288000 ] Linux files*
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
About size, I can't remember how I got this size, I think I wrote 250 g, is this the way to do it? Or should I convert size to sectors?
Once I manage to partition in fdisk, does disklabel give the opportunity to make extra partitions (or how are they called?)?
I've tried to divide sectors by 4 and have now this mbr:
Code:
Disk: sd0	geometry: 121601/255/63 [1953525168 Sectors]
Offset: 0	Signature: 0xAA55
            Starting         Ending         LBA Info:
 #: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
 0: 83      0   0   1 -  30400  83  63 [           0:   488381292 ] Linux files*
 1: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 2: 00      0   0   0 -      0   0   0 [           0:           0 ] unused      
 3: 00      0   0   0 -      0   0   0 [           0:           0 ] unused
Is this it? Can I run newfs? Will I need disklabel after this or is it usable like this? 240G partition isn't too big in case of fsck?

Sorry I'm adding new things all the time.
I've just seen this in a post http://www.daemonforums.org/showthre...ighlight=fdisk :
Quote:
I'm using UFS2+SU with huge storage areas and sometimes ext3 in Linux with a full journal because of reliability. Ext2 is comparable to FAT in Windows95, some power shortage and you can say good bye to your lovely data
Is this right? Does it mean it is not that safe to use ext2 for backup in my external drive?

Last edited by gosha; 13th June 2009 at 10:26 AM.
Reply With Quote