How to grow partition size on RAID volume?

2009-01-11 Thread Darren David

Hi all-

I need some help figuring out how to expand the existing partition on my 
RAID volume to take advantage of a new disk I just added -- without 
newfs'ing the volume and starting from scratch.


I added a 4th 750GB disk to my existing 1.5TB 3ware RAID5 volume, in an 
attempt to bring my total capacity up to ~2.25TB (4x750GB RAID5). I 
successfully used the 3ware 'tw-cli' utility to perform Online Capacity 
Expansion. The controller migrated the existing data across all 4 
disks, and it now reports a total volume capacity of 2095.44GB.


Now, I'm not quite sure how to get FreeBSD to recognize the extra space. 
I know that in order to use growfs, I first have to use disklabel to 
increase the partition size. However, disklabel doesn't like this big 
RAID volume:


  # disklabel /dev/da0
  disklabel: disks with more than 2^32-1 sectors are not supported

and the existing partition doesn't seem to have a label:

  # disklabel /dev/da0s1
  disklabel: /dev/da0s1: no valid label found

I'm unsure how to proceed here. CAn anyone shed some light as to how I 
might proceed?


Thanks in advance for any and all help,
Darren David


___
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 not returning values for large RAID

2009-01-01 Thread Darren David

Darren David wrote:

Hi all-

I recently added a 4th 750GB disk to my existing 1.5TB 3ware RAID5 
volume, in an attempt to bring my total capacity up to ~2.25TB (4x750GB 
RAID5).


I successfully used the 3ware 'tw-cli' utility to perform Online 
Capacity Expansion. The controller migrated the existing data across 
all 4 disks, and it now reports a total volume capacity of 2095.44GB. 
Excellent.


So, the issue I'm having is with getting FreeBSD 7.0-Release to 
recognize the additional space. I've seen scant few articles on the 
subject, the best of which is here:


http://ezine.daemonnews.org/200111/growfs.html

My primary issue right now is that when I attempt to run disklabel on 
the volume (/dev/da0) in order to get my calculations for fdisk, i get:


# disklabel /dev/da0
disklabel: disks with more than 2^32-1 sectors are not supported

and when I attempt it on the slice, i get:

# disklabel /dev/da0s1
disklabel: /dev/da0s1: no valid label found

What's the trick here?

Thanks in advance,
Darren David


Update:

OK, I discovered gpt. Here's the output:

# gpt show /dev/da0
   startsize  index  contents
   0   1 MBR
   1  62
  63  2929629402  1  MBR part 165
  2929629465  1464835815

Can anyone please give me some insight as to where to go from here?

Cheers,
Darren
___
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 not returning values for large RAID

2009-01-01 Thread Darren David

Hi all-

I recently added a 4th 750GB disk to my existing 1.5TB 3ware RAID5 
volume, in an attempt to bring my total capacity up to ~2.25TB (4x750GB 
RAID5).


I successfully used the 3ware 'tw-cli' utility to perform Online 
Capacity Expansion. The controller migrated the existing data across 
all 4 disks, and it now reports a total volume capacity of 2095.44GB. 
Excellent.


So, the issue I'm having is with getting FreeBSD 7.0-Release to 
recognize the additional space. I've seen scant few articles on the 
subject, the best of which is here:


http://ezine.daemonnews.org/200111/growfs.html

My primary issue right now is that when I attempt to run disklabel on 
the volume (/dev/da0) in order to get my calculations for fdisk, i get:


# disklabel /dev/da0
disklabel: disks with more than 2^32-1 sectors are not supported

and when I attempt it on the slice, i get:

# disklabel /dev/da0s1
disklabel: /dev/da0s1: no valid label found

What's the trick here?

Thanks in advance,
Darren David
___
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


Xorg/Gnome 2.16 stops responding to mouse clicks

2007-03-21 Thread Darren David

hey all-

I've got an issue where Xorg/Gnome 2.16 stops responding to mouse clicks 
- I can click, say, 3 or 4 times once Xorg first launches, but then it's 
hit and miss. Some interface elements are clickable, most are not. I 
have no problem moving the mouse around. Sometimes, intermittently, the 
ability to click will be restored. I was eager to blame my wireless 
logitech mouse, but if connectivity were an issue then I would also have 
issues moving the pointer around. I can't tell you when the problem 
started or for how long it's been going on, I haven't been running Xorg 
for many months now, so it's all new to me. PRior to this issue, my 
entire nautils desktop background vanished, and I reinstalled Gnome to 
fix it.


Corruption somewhere? Driver issue? Any thoughts?

Thanks in advance,
Darren David

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


FreeBSD 6.1 installer doesn't recognize ICH5R RAID1

2006-07-25 Thread Darren David

hi all-

doing a clean install to 6.1, and i've decided to set up my system 
drives as RAID 1 now that I see that 6.1 has support for the ICH5R raid 
controller. My BIOS recognizes the SATA RAID 1 array correctly, but the 
FreeBSD installer still sees 'ad4' and 'ad6' as two separate drives. The 
installer has no problem with my 3ware 9500-based RAID5 array.


FWIW, ad4 and ad6 both have old installs of freebsd 5.4 on them, 
including bootloaders, not sure if that's causing some of the confusion 
here.


any thoughts?

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


Need help switching between two FreeBSD boot drives

2006-01-05 Thread Darren David

hi all-

i've got one i've been tearing my hair out over here, and even after 
finding some information out there, i'm still totally lost. this may 
take a while to explain, so please bear with me.


I've got 2 80GB SATA drives in my FreeBSD machine, which are mapped as 
/dev/ad4 and /dev/ad6. I've got 5_STABLE installed on 1 drive, and my 
plan is to get a working install of 6_STABLE on the other drive, so i 
can take my time to work out the kinks with the upgrade on the 2nd drive 
(it hasn't been straighforward) and be able to switch back to my working 
5_STABLE machine as needed. That's the plan, anyway.


So I followed the general instructions here:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/book.html#NEW-HUGE-DISK

to clone drive 1 over to drive 2. very cool, no problems, i can pick 
either drive in the bootloader and boot up there. so all is well and 
good until i boot into drive 2 and start the upgrade process. I realize 
the /dev/ad4 and /dev/ad6 are not exactly fixed. It seems almost 
arbitrary which drive ends up mapped as /dev/ad6 and /dev/ad4, and this 
caused me to nearly munge all of the data on the working 5_STABLE 
install before i caught myself. If i boot into drive 1 at boot time, 
everything ends up being mounted at /dev/ad6. If i mount into drive 2 at 
boot time, the same thing happens. Mind you, i /did/ check /etc/fstab to 
ensure that all was well, but i ended up with a weird situation where, 
say, / would be /dev/ad4s1a and all of the other mountpoints were at 
/dev/ad6*. ugh. confusing!


I found this page, which explains the problem /somewhat/:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.html

but to be completely honest, the concept didn't stick. What i need help 
with, since these drives are exactly the same size and make, is how i 
can do the following:


1) determine the relationship between Drive 1/Drive 2 and ad4/ad6
2) determine exactly which physical drive i am working on at any given 
time, since the /dev node mappings seem to be malleable
3) enable an environment where i can safely and surely boot into either 
drive and know for a fact that the right partitions are mounted ( all of 
the data on all of the partitions aside from / is mirrored, so it's 
practically impossible to tell which drive is which )

4) (bonus points) My bootloader shows the following on boot:

  F1: FreeBSD
  F2: FreeBSD
  F5: Drive 1

a) I've only got 1 FreeBSD install on this drive, so what is F2? It just 
beeps at me when i try it
b) I assume that F5: Drive 1 means that the drive i'm staring at the 
options for is Drive 2, adn that selecting F5 will toggle to Drive 1? 
Just clarifying!


i hope this is an easy one to solve. i look forward to any and all help!

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


fsck woes: no '-b' option?

2005-10-19 Thread darren david

hi all-

i had a wonderful crash ( my fault, don't mess with hardware while the 
box is still running, no matter how steady your hands :| ). anyhoo, my 
3ware RAID 5 volume is a bit unhappy now. when running fsck, i get the 
following:




# fsck -y /dev/da0s1d
** /dev/da0s1d

CANNOT READ BLK: 1464762144
CONTINUE? yes

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 1464762144, 1464762145, 
1464762146, 1464762147,


LOOK FOR ALTERNATE SUPERBLOCKS? yes

32 is not a file system superblock

CANNOT READ BLK: 458687976
CONTINUE? yes

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 458687976, 458687977, 
458687978, 458687979, 458687980, 458687981, 458687982, 458687983, 
458687984, 458687985, 458687986, 458687987, 458687988, 458687989, 
458687990, 458687991,


CANNOT READ BLK: 917375920
CONTINUE? yes

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 917375920, 917375921, 
917375922, 917375923, 917375924, 917375925, 917375926, 917375927, 
917375928, 917375929, 917375930, 917375931, 917375932, 917375933, 
917375934, 917375935,


CANNOT READ BLK: 1376063864
CONTINUE? yes

THE FOLLOWING DISK SECTORS COULD NOT BE READ: 1376063864, 1376063865, 
1376063866, 1376063867, 1376063868, 1376063869, 1376063870, 1376063871, 
1376063872, 1376063873, 1376063874, 1376063875, 1376063876, 1376063877, 
1376063878, 1376063879,

SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
-b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE
SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8).




this is all well and good, but according to 'man 8 fsck', there is no 
'-b' option. any thoughts on way around this? I'm running on 5.4-STABLE.


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


Re: fsck woes: no '-b' option?

2005-10-19 Thread darren david
fair enough, that seemed to get it working again. so now the question 
is... how does one go about selecting which block to use as a new 
superblock? i realize this may be a trivial question regarding 
filesystems ( it's over my head) so i will happily take a link to a 
comprehensive resource as a response, unless it really is an easy answer...


thanks again,
darren david

David Kirchner wrote:

On 10/18/05, darren david [EMAIL PROTECTED] wrote:


SEARCH FOR ALTERNATE SUPER-BLOCK FAILED. YOU MUST USE THE
-b OPTION TO FSCK TO SPECIFY THE LOCATION OF AN ALTERNATE
SUPER-BLOCK TO SUPPLY NEEDED INFORMATION; SEE fsck(8).




this is all well and good, but according to 'man 8 fsck', there is no
'-b' option. any thoughts on way around this? I'm running on 5.4-STABLE.



It looks like the fsck man page needs to be clarified, and the fsck
output needs to be modified. What is actually telling you to use -b is
fsck_ffs.

!DSPAM:4355ecc0544949158843437!


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


newfs options for .75TB RAID 5 unit

2005-10-19 Thread darren david

hey all-

in the somewhat pending case that i may not be able to retrieve my data 
from RAID 5 unit, I'm wondering what my best option is for blocksize on 
a .75TB RAID 5 volume. does the 64k RAID stripe size have any impact on 
these figures? It was previously set to the default( 16384 blocksize, 
2048 fragment ) without any noticeable perf issues, but i'm just 
wondering if, well, size matters? ;)


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


Re: newfs options for .75TB RAID 5 unit

2005-10-19 Thread darren david

darren david wrote:

hey all-

in the somewhat pending case that i may not be able to retrieve my data 
from RAID 5 unit, I'm wondering what my best option is for blocksize on 
a .75TB RAID 5 volume. does the 64k RAID stripe size have any impact on 
these figures? It was previously set to the default( 16384 blocksize, 
2048 fragment ) without any noticeable perf issues, but i'm just 
wondering if, well, size matters? ;)


thanks,
darren david


I should add that this .75 TB unit is in fact a 4x250GB drive array, for 
.75TB of total space. not that it makes a difference, but more info 
can't hurt.


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


Re: newfs options for .75TB RAID 5 unit

2005-10-19 Thread darren david

Matt Virus wrote:

darren david wrote:


hey all-

in the somewhat pending case that i may not be able to retrieve my 
data from RAID 5 unit, I'm wondering what my best option is for 
blocksize on a .75TB RAID 5 volume. does the 64k RAID stripe size have 
any impact on these figures? It was previously set to the default( 
16384 blocksize, 2048 fragment ) without any noticeable perf issues, 
but i'm just wondering if, well, size matters? ;)


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




You shouldn't have any problems.  Read about tunefs if you wish, it may 
help you.


I have a 6x250gb array (1.25tb RAID5).  FBSD 5.2.1 refused to support a 
filesystem larger than 1.0tb, so i chunked it into 2 partitions to get 
around that problem and then I mounted them back using mount_nullfs so 
it appears as though all dirs are on the same partition in a single 
directory.  Not sure if the 1TB filesystem limit problem is unique to me 
or not, but you will be fine with your .75tb no question.


Coolness. What was /your/ blocksize for your filesystem, and why did you 
choose it?


darren


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


Re: Setting up Xorg in a jail

2005-05-26 Thread darren david



G. Felter wrote:

On Wed, 25 May 2005 17:56:36 -0700, darren david wrote


Hi all-

So I've got designs on running Windows Server 2003 in VMWare 3 in a 
jail as a way to have a SQL Server machine to develop against 
without having to keep another machine running. I want to jail it 
for security reasons, but maybe that's just overkill... regardless,
I'm trying to set up Xorg inside the jail so i can manage all the 
VMWare bits, but I can't for the life of me figure out how to 
configure Xorg inside the jail, since it's technically headless and 
i only have ssh access to it. Any thoughts?


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



I'm not sure if we are on the same page but I have a couple of jails that I
installed xorg and tightvnc.  I then use the default twm (tabbed window
manager) to bring up the applications I want to use by vnc'ing to the jail.  I
don't know if it is useful but it was fun to set up.  Hope this helps.
G
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

!DSPAM:42952a63631901062018743!



Cool. I'm going to give that a shot.

FWIW, did you have to do anything with your Xorg.conf file? Obviously, 
running Xorg -configure in the jail fails since there's no display.


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


Setting up Xorg in a jail

2005-05-25 Thread darren david

Hi all-

So I've got designs on running Windows Server 2003 in VMWare 3 in a jail 
as a way to have a SQL Server machine to develop against without having 
to keep another machine running. I want to jail it for security reasons, 
but maybe that's just overkill... regardless, I'm trying to set up Xorg 
inside the jail so i can manage all the VMWare bits, but I can't for the 
life of me figure out how to configure Xorg inside the jail, since it's 
technically headless and i only have ssh access to it. Any thoughts?


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


Server-based address book with LDAP

2005-04-20 Thread darren david
Hi all-
So having sold my Mac (boo!) and being stuck with FreeBSD (yay!), I'm 
looking for a server-based address book replacement. LDAP seems like the 
way to go, but i have yet to find a good HOWTO and/or GUI based 
application for administering said contact repository. I'd ultimately 
like to be able to wire up a lightweight web-based solution for browsing 
addresses remotely, but first i need to get LDAP off the ground. If i 
ever get a Mac again, i'd likely use the new Auto LDAP-sync features in 
Tiger's Address Book, but for now, can anyone point me in the right 
direction?

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


gnome_upgrade hangs on accessibility/gnomespeech

2005-03-25 Thread darren david
 arguments... (cached) 65536
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if cc static flag  works... yes
checking if cc supports -fno-rtti -fno-exceptions... no
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (/usr/bin/ld) supports shared 
libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... freebsd5.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag CXX to libtool
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking for c++ option to produce PIC... -fPIC
checking if c++ PIC flag -fPIC works... yes
checking if c++ supports -c -o file.o... yes
checking whether the c++ linker (/usr/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... freebsd5.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
appending configuration tag F77 to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared 
libraries... yes
checking dynamic linker characteristics... freebsd5.3 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking for bonobo-activation-2.0 = 0.9.1 libbonobo-2.0 = 1.97.0 
ORBit-2.0 = 2.3.94... yes
checking gnome_speech_CFLAGS... -DORBIT2=1 -D_REENTRANT 
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/
glib-2.0 -I/usr/local/lib/glib-2.0/include 
-I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0
checking gnome_speech_LIBS... -Wl,--export-dynamic -pthread 
-L/usr/local/lib -lbonobo-2 -lbonobo-activation -lORBit-2 -l
m -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -liconv
checking for eciNew in -libmeci... no
checking for TextToSpeechSync in -ltts... no
test: x: unexpected operator
checking for /bin/theta-config... no
checking for /usr/local/bin/java... yes
checking for /usr/local/bin/javac... yes



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


easy VPN config HOWTO?

2005-02-06 Thread darren david
Hi all-
I have been searching high and low for a straightforward VPN 
configuration HOWTO with no luck. everything i've found is way over my 
head and very convoluted (to me, at least). Perhaps such is the nature 
of VPN.

My goal is simply to allow users running Windows to VPN in to my home 
server and gain access to the private LAN. Sure, i can get in via ssh, 
but i have several less technical users who need to access to shared 
resources and for them, ssh is not a realistic solution. I've heard that 
OpenVPN is a bit simpler to set up, but it too is a complicated matter. 
All of the examples i've seen/googled involve unix-unix machines.

I'm tracking 5.3-STABLE with pf controlling traffic.
Can anyone point me in a good direction?
Thanks in advance,
darren david
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]