@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3



Comments:

<0> Vulnerability in OpenBSD 3.9: Box crashed when it received a TCP packet that were coming a multicate address. "Spank Denail of service attack"
<0> Is there a known solution for this issue
<1> booyah
<2> moin
<3> how can I install xorg on openbsd 3.9? I don't see the binary package and I don't see it in ports. I can't find any reference in documentations about it that it isn't there.
<4> bsdnewbie: it's in base
<4> did you select the install sets prefixed with x when you installed the machine?
<3> no, I did minimal and expected to add it later with pkg_add
<4> bsdnewbie: don't expect
<4> read documentation
<4> it's not a package, it's part of the base install unless you don't install it. at which point it isn't.
<4> go read the docs for how to fix your cockup.
<3> k
<5> Can i resize my ffs partition ?
<6> Yes, but...
<5> hmm



<5> its not recommended i ***ume
<5> hrm. I need to free up another 16gigs
<6> You can resize (enlarge) the _partition_ that your ffs filesystem is on, but you can't resize the ffs filesystem itself.
<5> yes
<5> thats what i'd like to do
<7> man growfs
<5> http://pastebin.ca/86917
<5> I'm a bit mixed up
<5> what I'd like to do, is delete the ext2fs partition (which I just freed up)
<5> and grow the ffs one..
<5> I came here since I didn't want to accidently delete the wrong parition
<5> I'm not sure about the correct command I should use
<6> Usually what I do to give more space to OpenBSD, is enlarge the OpenBSD type A6 disk partition, then create a new "slice" in the newly added space by adding its particulars to the disklabel. Then I can newfs it to create and format a new filesystem there so I can use the space.
<5> can anyone guide me through ?
<6> But perhaps growfs is stable enough now to use.
<5> I should delete the ext2 with fdisk, right
<5> ?
<5> should I fdisk and remove parition number 3?
<8> spuug's advice is much better than trying to grow things
<8> you don't have an FFS partition on that disk
<8> hmm, well, it is marked incorrectly
<5> ok.
<5> how should i fix that ?
<8> it doesn't matter
<8> just remove fdisk partition 3
<5> fdisk -e wd1
<8> or don't remove it
<5> edit 3
<5> then '0' to disable it ?
<5> and thats it ?
<8> decude exactly what you are going to do
<8> decide
<5> remove ext2 for starters..
<8> if you want to extend the FFS partition
<8> you need to free the space directly after it on the disk
<8> adjust the fdisk entry to fill that space
<8> adjust the disklabel to reflect those changes
<8> and use growfs to extend the partition
<5> oh, so I cant grow it, because the ffs is after the ext2 right now
<8> no it isn't
<8> i would not grow it, however
<8> but it depends what you need
<8> you have FFS extending from 353430 to 39423510
<8> and ext2 from 39423510 upward
<8> so, remove the ext2 entry
<5> hrm
<8> and change the FFS entry so it extends from 353430, with size 144311895
<5> i removed it via fdisk
<5> disklabel hasn't changed
<8> well, it wouldn't
<5> that means I should change disklabel manually and remove the ext2 there too?
<8> yes
<8> do disklabel -d wd1 to see what partitions openbsd detects
<8> change the fdisk FFS partition to type A6 and it should detect it properly
<5> c: 241254720 0 unused 0 0 # Cyl 0 -239339
<5> i: 353367 63 unknown # Cyl 0*- 350*
<5> j: 39070080 353430 ext2fs # Cyl 350*- 39110*
<5> k: 96582717 144665388 MSDOS # Cyl 143517*-239333*
<5> hrm.
<7> you need to increase the size of the openbsd partition after your remove the ext2 entry with fdisk
<8> yes



<8> that's what i said
<5> thats after i deleted the 3rd partition
<8> yes
<8> change the FFS partition's size as i said
<7> it doesn't look like he did it
<8> yeah
<8> and it's type to A6
<8> forget about disklabel until you have finished with fdisk
<5> wait, before changing the size
<5> lets change the type
<5> i do that via fdisk, right ?
<8> you do both things via fdisk
<7> you'll do them both when you edit the partition
<5> 0: 82 0 1 1 - 21 254 63 [ 63: 353367 ] Linux swap
<5> 1: 0F 9005 0 1 - 15016 254 63 [ 144665325: 96582780 ] Extended LBA
<5> *2: A6 22 0 1 - 2453 254 63 [ 353430: 39070080 ] OpenBSD
<5> 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
<5> ok, changed it to openbsd..
<8> now adjust the size
<8> so that the openbsd partition covers the entire free space
<5> hrm, wait
<5> disklabel -d still doesn't recognize it
<5> as an A6 drive
<8> what did i say to do about disklabel?
<5> a: 39070080 353430 unused 0 0 # Cyl 350*- 39110*
<5> c: 241254720 0 unused 0 0 # Cyl 0 -239339
<5> i: 353367 63 unknown # Cyl 0*- 350*
<5> j: 96582717 144665388 MSDOS # Cyl 143517*-239333*
<8> what did i say to do about disklabel?
<5> yeah, well, i thought that -d should autodetect it as you said
<8> it may not do, i forget
<8> anyway, forget about disklabel until you have finished with fdisk
<5> hrm. ***uming i dont want to grow the partition this was the last step, wasn't it ?
<5> eh
<5> ok.
<8> do you want to grow the partition or create a new one?
<5> i'm not sure
<8> it is up to you, but you need to make up your mind
<5> sounds frightening to grow it
<5> what would you recommend ?
<8> it depends
<5> i can live with creating a new one..
<8> if you can split the files logically into two sets, then i would add a new FFS partition
<8> and mount it
<5> well, then i prefer this route
<8> so
<8> add an fdisk entry
<8> actually, wait
<8> you still are better to extend the A6 partition
<5> ok..
<8> change its size to cover all the free space
<5> 0: 82 0 1 1 - 21 254 63 [ 63: 353367 ] Linux swap
<5> 1: 0F 9005 0 1 - 15016 254 63 [ 144665325: 96582780 ] Extended LBA
<5> *2: A6 22 0 1 - 2453 254 63 [ 353430: 39070080 ] OpenBSD
<5> 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
<5> so 'edit 2'
<5> and just change its size ?
<8> yes
<5> hrm
<5> how would i calculate the right size ?
<7> nicm already told you the size
<8> add together the two old sizes
<5> 144665325- 353430 ?
<8> 144311895
<8> yes
<8> use that
<8> once you have done that
<8> do disklabel -E
<5> 0: 82 0 1 1 - 21 254 63 [ 63: 353367 ] Linux swap
<5> 1: 0F 9005 0 1 - 15016 254 63 [ 144665325: 96582780 ] Extended LBA
<5> *2: A6 22 0 1 - 9004 240 50 [ 353430: 144311000 ] OpenBSD
<5> 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused
<5> does this look right now ?
<7> you still have some more sectors you could use


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #openbsd
or
Go to some related logs:

a1warriortrailers
#stocks
#linux-noob
p4t-e kingston recommended valueram
#cph
attachmovie coord
courtney cox's tits
vmware debian repairing grub
#politics
#delphi



Home  |  disclaimer  |  contact  |  submit quotes