![]() |
|
|||||||
| OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|||
|
Ive read the faq 14.7 about large drives but im not quite sure i understand howto.
I got this 1.5tb seagatedisk and it has to be ffs2 aparently since ffs1 cant handle more then little less then 1tb. Its not meant for /, /var,/usr but more like /storage. how do i format the disk? doing man newfs give me this: Quote:
At the bottom of faq14.7 Quote:
|
|
||||
|
You need to use -O 2 to create a FFS2 filesystem, from newfs(8):
Code:
-O filesystem-format
Select the filesystem format:
0 4.3BSD format file system. This option is primar-
ily used to build root file systems that can be
understood by older boot ROMs.
1 Fast File System (the default).
2 Enhanced Fast File System (FFS2).
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things. |
|
|||
|
Thanks, onto the next problem:
How do I mount it? After checking man fstab and mount I cant see any ffs2 options? quote from 'man fstab' Quote:
|
|
||||
|
mount(8) or mount_ffs(8) should mount it without trouble. e.g.:
Code:
# newfs -O 2 sd1a # mount /dev/sd1a /mnt # umount /mnt # mount_ffs /dev/sd1a /mnt
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 29th September 2012 at 01:07 PM. Reason: corrected typo in newfs(8) command |
|
|||
|
Quote:
But newfs -O 2 /dev/sd1a does not work for me. I need to specify the "raw" device name: newfs -O 2 /dev/rsd1a |
|
||||
|
Hey, thanks for catching my typo. You're right, raw or the short form are required for newfs. I'll correct it now.
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FFS2 in OpenBSD, what do you need? | Sunnz | OpenBSD General | 0 | 5th May 2008 08:05 AM |