DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
fdisk Question Crotalus FreeBSD Installation and Upgrading 2 10th February 2010 08:10 AM
looking for external drive buy suggestions gosha General Hardware 20 5th September 2009 05:32 AM
Problem Installing From External DVD Drive jimnms OpenBSD Installation and Upgrading 8 16th July 2009 07:12 PM
WD Passport Portable external drive Beastie General Hardware 7 25th April 2009 12:50 PM
Booting with external USB drive plugged in? Bruco FreeBSD General 29 17th May 2008 05:39 PM


All times are GMT. The time now is 09:05 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick