enlarge a filesystem

2011-09-10 Thread Jim Pazarena

I have a drive with two filesystems.
/dev/da1s1d  412G  337G   42G  89%
and
/dev/da1s1e 130G   19M  119G   0%

I need the space on da1s1e.

Does FreeBSD have any mechanism to enlarge
s1d after I delete s1e ?

Would GParted be able to do this?
___
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: enlarge a filesystem

2011-09-10 Thread Matthew Seaman
On 10/09/2011 08:17, Jim Pazarena wrote:
 I have a drive with two filesystems.
 /dev/da1s1d  412G  337G   42G  89%
 and
 /dev/da1s1e 130G   19M  119G   0%
 
 I need the space on da1s1e.
 
 Does FreeBSD have any mechanism to enlarge
 s1d after I delete s1e ?

These are normal FreeBSD UFS2 filesystems?  Does the s1e partition
follow the s1d partition physically on the disk -- look at the partition
layout using bsdlabel to check that?

If so, then yes.  growfs(8) is your friend.  The procedure is to edit
the disk label to remove the s1e partition and extend the s1d partition
to fill the released space.  Then use growfs to expand the filesystem to
fill up the partition.

Of course, make sure your data is very well backed up before you do
anything else.  bsdlabel and growfs are tools that work at very low
levels of the system and that can cause complete mayhem with the
slightest mistake.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Printing from Firefox broken after update.

2011-09-10 Thread Leslie Jensen



2011-09-09 22:29, Polytropon skrev:

On Fri, 09 Sep 2011 20:56:18 +0200, Leslie Jensen wrote:

2011-09-09 18:17, Rares Aioanei skrev:

On Fri, 09 Sep 2011 17:47:16 +0200
Leslie Jensenles...@eskk.nu   wrote:


/usr/local/libexec/cups/filter/pdftops failed


Does the file exist?




Yes!

-r-xr-xr-x  1 root  wheel  20112  9 Sep 09:12
/usr/local/libexec/cups/filter/pdftops


Try to run it manually. Take a PDF file and convert it into
PS. Add options you might need for paper size.

Example:

% /usr/local/libexec/cups/filter/pdftops -paper A4 test.pdf

and check the PS output.

See man pdftops for details. Maybe it's a dependency problem
of pdftops...

Note that the normal pdftops binary is provided by the
xpdf port. Maybe you can try to update this one too? I'm
not sure if CUPS's own binary is in some relation to that
port, or is it working independently?





First I did

portmaster -t -f graphics/xpdf

Then rehash

Tried the following both as root and as myself

I had to add a user and number of copies to the command.

/usr/local/libexec/cups/filter/pdftops les 1 -paper A4 test.pdf

which results in the following

DEBUG: pdftops - copying to temp print file /tmp/034c34e6e4d2f

and it never exits. I have to stop with ctrl-c


the file is empty.

ll /tmp/034c34e6e4d2f
-rw---  1 les  wheel  0 10 Sep 08:01 /tmp/034c34e6e4d2f

And my test file is

ll test.pdf
-rw-r--r--  1 les  les  30263 10 Sep 07:58 test.pdf

So what do you suggest I do now?





___
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


Samba question

2011-09-10 Thread Graeme Dargie
Hi All

I am sure there is a simple answer to this but I google has not overly helped.

I am trying to mount a samba share that is on a FreeBSD 8.2 server to another 
FreeBSD 8.2 server,

Mount_smbfs -I IP //user@host/share /mountpoint

It then asks for a password, I enter the users password and then get 
mount_smbfs: unable to open connection: syserr = Authentication error

Dmesg is showing smb_co_lock: recursive lock for object 1

I have samba integrated with Active Directory, so I then thought ah maybe 
adding the user to AD would help, so I have done so using the same password etc 
still no joy, I have make sure the user has access rights on the samba share, 
restarted samba and the same error persists, any ideas ?

Regards

Graeme
___
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


Mumble

2011-09-10 Thread Mr. Darren
I am trying to install Mumble on a headless FreeBSD server which has no need 
for X11.  Why is this port trying to install X11?  Seems like it shouldn't be 
needed.

___
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: Mumble

2011-09-10 Thread Matthew Seaman
On 10/09/2011 07:52, Mr. Darren wrote:
 I am trying to install Mumble on a headless FreeBSD server which has
 no need for X11.  Why is this port trying to install X11?  Seems like
 it shouldn't be needed.

Is that X libraries or the X server it's trying to install?  The first
is perfectly reasonable -- it's useful in general to be able to install
an application which uses the X protocol to connect to a remote X server
for its display, even if the machine where the application is installed
is never going to have any sort of graphical display itself.

If it's trying to install an X server, then something is a bit whiffy in
the state of Denmark.  That shouldn't happen in the ports without good
reason.

Also, you can turn off X11 support in audio/mumble using the OPTIONS
framework -- use 'make config' to bring up the blue and grey dialogue.
(The default is to turn off X11 support in mumble, but that doesn't
necessarily mean that dependencies won't require X11 support...)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: Printing from Firefox broken after update.

2011-09-10 Thread Jerry
On Sat, 10 Sep 2011 11:47:59 +0200
Leslie Jensen articulated:

 2011-09-09 22:29, Polytropon skrev:
  On Fri, 09 Sep 2011 20:56:18 +0200, Leslie Jensen wrote:
  2011-09-09 18:17, Rares Aioanei skrev:
  On Fri, 09 Sep 2011 17:47:16 +0200
  Leslie Jensenles...@eskk.nu   wrote:
 
  /usr/local/libexec/cups/filter/pdftops failed
 
  Does the file exist?
 
  Yes!
 
  -r-xr-xr-x  1 root  wheel  20112  9 Sep 09:12
  /usr/local/libexec/cups/filter/pdftops
 
  Try to run it manually. Take a PDF file and convert it into
  PS. Add options you might need for paper size.
 
  Example:
 
  % /usr/local/libexec/cups/filter/pdftops -paper A4 test.pdf
 
  and check the PS output.
 
  See man pdftops for details. Maybe it's a dependency problem
  of pdftops...
 
  Note that the normal pdftops binary is provided by the
  xpdf port. Maybe you can try to update this one too? I'm
  not sure if CUPS's own binary is in some relation to that
  port, or is it working independently?
 
 
 
 
 First I did
 
 portmaster -t -f graphics/xpdf
 
 Then rehash
 
 Tried the following both as root and as myself
 
 I had to add a user and number of copies to the command.
 
 /usr/local/libexec/cups/filter/pdftops les 1 -paper A4 test.pdf
 
 which results in the following
 
 DEBUG: pdftops - copying to temp print file /tmp/034c34e6e4d2f
 
 and it never exits. I have to stop with ctrl-c
 
 
 the file is empty.
 
 ll /tmp/034c34e6e4d2f
 -rw---  1 les  wheel  0 10 Sep 08:01 /tmp/034c34e6e4d2f
 
 And my test file is
 
 ll test.pdf
 -rw-r--r--  1 les  les  30263 10 Sep 07:58 test.pdf
 
 So what do you suggest I do now?

I am not sure exactly what your problem is; however, after the Firefox
update, printing now takes forever. I use to be able to click on print
and have a document print virtually immediately. Now, I click print and
have time to eat breakfast, take a shower and get dressed before the
frigging thing prints out. This is definitely NOT a printer problem
since the printer is connected via a network to a Windows machine.
Clicking on the same document in IE results in the document being
printed immediately. Somehow, somewhere, something got seriously
broken in Firefox.

-- 
Jerry ✌
jerry+f...@seibercom.net

Disclaimer: off-list followups get on-list replies or ignored.
Do not CC this poster. Please do not ignore the Reply-To header.

http://www.catb.org/~esr/faqs/smart-questions.html
___
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


serviio

2011-09-10 Thread Graeme Dargie
Has anyone any experience with this media streaming port, their forums are 
helpful but largely if you are using linux / os X / win, not much on FreeBSD?
Feel free to discuss off list if you feel it to be more appropriate.

Regards

Graeme
___
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: portmaster -r libnotify-0 problems

2011-09-10 Thread Scott Ballantyne
Hi Mathew,

 On 09/09/2011 15:13, Scott Ballantyne wrote:
  I've been trying to update libnotify and libproxy following the
  instructions in UPDATING, which is to do
  
  portmaster -r libnotify-0
  
  This trys to install ghostscript9, and fails. Apparently ghostscript9
  conflicts with ghostscript8-8.71_6, which presumably is the reason for
  the failure.
  
  Could someone help me resolve this? The obvious solution of pkg_delete
  ghostscript8-8.71_6 doesn't work, because too many installed ports
  depend on ghostscript8-8.71_6.
 
 There are two approaches you might take here.  Either
 
* replace ghostscript8 with ghostscript9
 
 or
 
* work out why libnotify triggers a dependency on ghostscript9
  and try and make it use ghostscript8 (or nothing) instead.
 
 The first is a relatively mechanical process, which should work fine
 from the point of view of doing all the port wrangling, but might result
 in further ghostscript8 vs ghostscript9 problems down the line.
 Just run:
 
 # portmaster -o print/ghostscript9 ghostscript8-
 
 That will change the dependency settings in your /var/db/pkg directory,
 which may or may not be appropriate for all ghostscript dependent ports,
 and indeed some may not work at all.  (Although I rather doubt the
 simply not-working thing: functionality between those versions hasn't
 changed much at all.)
 
 The second is a more satisfying fix.  Lets see... Try defining
 
WITH_GHOSTSCRIPT_VER=8
 
 in /etc/make.conf  (the default is 9 nowadays) -- then try reinstalling
 libnotify according to the instructions in UPDATING.
 
 Read /usr/ports/Mk/bsd.port.mk for the details -- search for GHOSTSCRIPT
 to find the relevant bits.
 

Thanks so much, I am in your debt. However, I also feel that I am in
maze of twisty little passages, all different.  The next step here is
to portmaster -r libproxy-0, where I get:

---
=== Currently installed version: libproxy-0.4.6
=== Port directory: /usr/ports/net/libproxy

=== Gathering distinfo list for installed ports

=== Launching 'make checksum' for net/libproxy in background
=== Gathering dependency list for net/libproxy from ports
=== Initial dependency check complete for net/libproxy

=== Checking ports that depend on libproxy-0.4.6

=== Launching child to reinstall alacarte-0.13.2_1
libproxy-0.4.6  alacarte-0.13.2_1

=== Port directory: /usr/ports/deskutils/alacarte


=== No DISTINFO_FILE in /usr/ports/x11-themes/gnome-art
=== Aborting update

Terminated
Terminated

=== Update for alacarte-0.13.2_1 failed
=== Aborting update
--

gnome-art is peculiar. There is nothing in that directory but the work
directory, no makefile or anything. And nothing I can find in UPDATE
about alacarte or gnome-art.

Any further thoughts, if you have time?

Thanks again,
Scott
___
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: portmaster -r libnotify-0 problems

2011-09-10 Thread Matthew Seaman
On 10/09/2011 16:12, Scott Ballantyne wrote:
 gnome-art is peculiar. There is nothing in that directory but the work
 directory, no makefile or anything. And nothing I can find in UPDATE
 about alacarte or gnome-art.
 
 Any further thoughts, if you have time?

That is an ex-port.

lucid-nonsense:/usr/ports:# grep gnome-art MOVED
x11-themes/gnome-art||2011-08-02|Has expired: Upcoming ruby-gnome
removes dependencies

Kicked the bucket, shuffled off this mortal coil, run down the curtain
and joined the bleeding choir invisible.

Suggest you update your ports tree using csup(1) or portsnap(1) -- if
necessary by blowing away what you already have under /usr/ports and
starting from scratch.  Seems that your current tree is in an
inconsistent state.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


returning to 8.2 from 9.0

2011-09-10 Thread Fbsd8
Have test pc. Been running 8.2 just fine. Installed 9.0 from cd and 
after playing around tried to reinstall 8.2. Got error about GTP table 
while trying to setup the HD. Used 8.0 livecd to

dd if=/del/zero of=/dev/ad0 count=5 to wipe the start of the HD clean.
Now 8.2 install issues this msg
GEOM: ad0: the primary GPT table is corrupt or invalid.

How do I fix the HD so 8.2 will install?
___
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: returning to 8.2 from 9.0

2011-09-10 Thread Michel Talon
Fbsd8 wrote:

 How do I fix the HD so 8.2 will install?

man gpart, in particular the RECOVERING section. there are 2 copies of
the GPT you have erased only one. See gpart recover and gpart destroy.

By the way FreeBSD-8.2 has the gpart utility so i suppose installation
on GPT is possible. And as far as i have seen, FreeBSD9 seems an
extremely nice release, with tons of exciting new stuff. The new
installer is *very* efficient, the system is fast, even with witness,
I don't see many reasons to come back to 8.2.

-- 

Michel TALON

___
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: portmaster -r libnotify-0 problems

2011-09-10 Thread Scott Ballantyne
 
 On 10/09/2011 16:12, Scott Ballantyne wrote:
  gnome-art is peculiar. There is nothing in that directory but the work
  directory, no makefile or anything. And nothing I can find in UPDATE
  about alacarte or gnome-art.
 =20
  Any further thoughts, if you have time?
 
 That is an ex-port.
 
 lucid-nonsense:/usr/ports:# grep gnome-art MOVED
 x11-themes/gnome-art||2011-08-02|Has expired: Upcoming ruby-gnome
 removes dependencies
 
 Kicked the bucket, shuffled off this mortal coil, run down the curtain
 and joined the bleeding choir invisible.
 
 Suggest you update your ports tree using csup(1) or portsnap(1) -- if
 necessary by blowing away what you already have under /usr/ports and
 starting from scratch.  Seems that your current tree is in an
 inconsistent state.
 

Thanks again, Mathew. I csuped already, but will nuke the ports and
start again. 

Thanks again so much for your generous help.

Scott
-- 
s...@ssr.com
___
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: returning to 8.2 from 9.0

2011-09-10 Thread Fbsd8

Michel Talon wrote:

Fbsd8 wrote:


How do I fix the HD so 8.2 will install?


man gpart, in particular the RECOVERING section. there are 2 copies of
the GPT you have erased only one. See gpart recover and gpart destroy.

By the way FreeBSD-8.2 has the gpart utility so i suppose installation
on GPT is possible. And as far as i have seen, FreeBSD9 seems an
extremely nice release, with tons of exciting new stuff. The new
installer is *very* efficient, the system is fast, even with witness,
I don't see many reasons to come back to 8.2.



After erasing the front of the HD nether 9.0 or 8.2 will install.
Can I use livecd dd command to erase the second copy of the GPT?
Where is it at?

___
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: A quality operating system

2011-09-10 Thread Allen
On 9/6/2011 10:44 AM, Michael Doyle wrote:
 Lots of other people have given good answers. I'm just chiming in on
 points 3 and 7
 
 On 20 Aug 2011, at 05:47, Evan Busch wrote:
 
 What is a quality operating system?
 
 I work as a database developer in an SME. I support end users on Mac OSX
 and Windows XP .. Windows Vista
 clients, and Windows 2008, FreeBSD and SuSE linux servers.
 
 Of these, the FreeBSD servers give least trouble.
 For non-techie users, usually but not always the OS X people have fewer
 problems.

I collect OSs, and I've always found the ideal of an OS interesting, so
I try to use as many as I can. Of the massive amount of OSs I own, my
favorites, have always been these:

For Windows -

Windows 2000, Windows 7

Linux -

Slackware
SuSE
Debian
Mandriva when they don't screw it up.

SUSE is my favorite though by far. I used it for a LONG time as my main
OS, and I've LOVED it. I also used it on my Laptop, and on my Servers,
and not once had any real issues. I did have to help a few people new to
it realize that Yast2 came in a non-GUI style too, by simply typing
yast while in an X-Term, or, without a GUI loaded at all with a normal
shell. I also love the Dependency tracking it had when I used it on my
Servers where I was doing something as a project; I could set up a
machine to do testing on, where I would have an FTP Server running, SSH
running, and so on, and then, also use it as a Desktop, just to see how
it would run. Well, when you have that much crap installed, if you
realize any given package is giving you problems, or you don't like it,
and want to get rid of it, you could simply click on Check
Dependencies and even while installing, it would look at everything
you'd selected, and if it found anything, pop up a menu that allowed you
to get rid of what you wanted, and then it would show you if anything
would break when you did so, and, allow you to either get rid of those
as well, or, select new options. I wish FreeBSD did this but ah well.

FreeBSD is my favorite BSD in general, but I am starting to LOVE PC-BSD,
which is basically FreeBSD with some really nice tools, and a pretty
paint job, from what I've seen so far.

 In his view, and now mine, a quality operating system is reliable,
 streamlined and clearly organized.
 
 That is hard to disagree with

Yea, I'd have to agree with a few of my own thoughts:

In MY person view, a good OS, is one that can do what you want it to do,
AND what you NEED it to do, isn't overly complex for no reason, is
stable, AND secure. Reliability and Stability, being related, is
something I take very VERY high up. I don't like unstable OSs. And I've
tried quite a few.

When I used to be in college, there was a guy there who LOVED Windows.
And I couldn't understand how someone who was, by all means, fairly
intelligent, could think it was even OK for a Server OS like Windows
Server 2003 Enterprise Edition, came, with a default install, WITH
WINDOWS MEDIA PLAYER!!! I mean first, I get that they'd want to make
that available if it was needed for something But, an ENTERPRISE
EDITION OS coming out of the box, with Windows Media Player installed by
default Why Why would a Server need a Media Player? And why
would they allow one that's had a host of security issues over the
years? I couldn't understand that at all, and still can't, since the guy
I mentioned, could never give a good enough excuse. Especially
considering that a Server should not EVER have down time because the
admin had to install patches for a MEDIA PLAYER, and then, was required
to reboot the damn thing because of it.


 (3) Horrible documentation.

 This is my specialty and has been since the early 1980s. The FreeBSD
 documentation is wordy, disorganized, inconsistent and highly
 selective in what it mentions. It is not the product of professionals
 but it also not the product of volunteers with a focus on
 communication. It seems pro-forma, as in, it's in the documentation,
 so don't bother me. The web site compounds this error by pointing us
 in multiple directions instead of to a singular resource. It is bad
 enough that man pages are separate from your main documentation tree,
 but now you have doubled or trebled the workload required of you
 without any benefit to the end user.
 
 I personally find the documentation that comes as part of the install
 and the documentation on the
 FreeBSD website EASIER to use and more complete than any alternatives I
 use on a regular basis.

I've seen some bad documentation in my time, but FreeBSD, has rarely
been a culprit... The FreeBSD Docs that are installed, are great, and
then, the books you can buy, are amazing. I own every book you can get
from the FreeBSD Mall, except a PC-BSD book. I think there may be ONE
other, but other than those two, I own them all. And I Love them. My
favorite is a toss up between The Complete FreeBSD and FreeBSD
Unleashed. The Web site is also great, and the search function, works
better than some.

 (7) 

Re: returning to 8.2 from 9.0

2011-09-10 Thread Rodolpho Henrique Orlovsky Eckhardt
On 13:49 Sat 10 Sep , Fbsd8 wrote:
 After erasing the front of the HD nether 9.0 or 8.2 will install.
 Can I use livecd dd command to erase the second copy of the GPT?
 Where is it at?

Try gpart destroy -F disk. You should be able to recreate a GPT or MBR 
scheme after that.

-- 
Rodolpho Eckhardt rodolpho.eckha...@gmail.com
http://rodolphoeck.com


pgpIOVFHMexR9.pgp
Description: PGP signature


Re: returning to 8.2 from 9.0

2011-09-10 Thread Michel Talon
On Sat, Sep 10, 2011 at 03:19:30PM -0300, Rodolpho Henrique Orlovsky Eckhardt 
wrote:
 On 13:49 Sat 10 Sep , Fbsd8 wrote:
  After erasing the front of the HD nether 9.0 or 8.2 will install.
  Can I use livecd dd command to erase the second copy of the GPT?
  Where is it at?
 
 Try gpart destroy -F disk. You should be able to recreate a GPT or MBR 
 scheme after that.
 

If gpart destroy doesn't work, perhaps gpart recover followed by gpart
destroy may work. If gpart is unavailable, reading man gpart shows that
the second copy is at the end of the disk.


-- 

Michel TALON

___
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: returning to 8.2 from 9.0

2011-09-10 Thread Fbsd8

Rodolpho Henrique Orlovsky Eckhardt wrote:

On 13:49 Sat 10 Sep , Fbsd8 wrote:

After erasing the front of the HD nether 9.0 or 8.2 will install.
Can I use livecd dd command to erase the second copy of the GPT?
Where is it at?


Try gpart destroy -F disk. You should be able to recreate a GPT or MBR 
scheme after that.



gpart destroy -F da0
gives this message
gpart: geom 'da0': Invalid argument
da0 has the HD in question connected through usb port.

___
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: returning to 8.2 from 9.0

2011-09-10 Thread Johan Hendriks

Fbsd8 schreef:
Have test pc. Been running 8.2 just fine. Installed 9.0 from cd and 
after playing around tried to reinstall 8.2. Got error about GTP table 
while trying to setup the HD. Used 8.0 livecd to

dd if=/del/zero of=/dev/ad0 count=5 to wipe the start of the HD clean.
Now 8.2 install issues this msg
GEOM: ad0: the primary GPT table is corrupt or invalid.

How do I fix the HD so 8.2 will install?
___
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

maybe this little script helps you.
http://wiki.freenas.org/faq:0129

It helped me in several situations.

If that does not do the job, you could try dban disknuke that will wipe 
the disk completely


regards,
Johan Hendriks
___
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: returning to 8.2 from 9.0

2011-09-10 Thread Fbsd8

Johan Hendriks wrote:

Fbsd8 schreef:
Have test pc. Been running 8.2 just fine. Installed 9.0 from cd and 
after playing around tried to reinstall 8.2. Got error about GTP table 
while trying to setup the HD. Used 8.0 livecd to

dd if=/del/zero of=/dev/ad0 count=5 to wipe the start of the HD clean.
Now 8.2 install issues this msg
GEOM: ad0: the primary GPT table is corrupt or invalid.

How do I fix the HD so 8.2 will install?
___
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

maybe this little script helps you.
http://wiki.freenas.org/faq:0129

It helped me in several situations.

If that does not do the job, you could try dban disknuke that will wipe 
the disk completely


regards,
Johan Hendriks





diskinfo da0

says Device not configured

I all ready did  dd if=/dev/zero of=/dev/da0 count=2 to wipe the front 
of the disk.

___
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: returning to 8.2 from 9.0

2011-09-10 Thread Rodolpho Henrique Orlovsky Eckhardt
On 15:10 Sat 10 Sep , Fbsd8 wrote:
 gpart destroy -F da0
 gives this message
 gpart: geom 'da0': Invalid argument
 da0 has the HD in question connected through usb port.

Try: gpart destroy -F /dev/da0

-- 
Rodolpho Eckhardt rodolpho.eckha...@gmail.com
http://rodolphoeck.com


pgpEh7EX8Crg7.pgp
Description: PGP signature


Re: returning to 8.2 from 9.0

2011-09-10 Thread Johan Hendriks

Fbsd8 schreef:

Johan Hendriks wrote:

Fbsd8 schreef:
Have test pc. Been running 8.2 just fine. Installed 9.0 from cd and 
after playing around tried to reinstall 8.2. Got error about GTP 
table while trying to setup the HD. Used 8.0 livecd to

dd if=/del/zero of=/dev/ad0 count=5 to wipe the start of the HD clean.
Now 8.2 install issues this msg
GEOM: ad0: the primary GPT table is corrupt or invalid.

How do I fix the HD so 8.2 will install?
___
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

maybe this little script helps you.
http://wiki.freenas.org/faq:0129

It helped me in several situations.

If that does not do the job, you could try dban disknuke that will 
wipe the disk completely


regards,
Johan Hendriks





diskinfo da0

says Device not configured

I all ready did  dd if=/dev/zero of=/dev/da0 count=2 to wipe the 
front of the disk.

i now see two different things?
dd if=/del/zero of=/dev/ad0 count=5
dd if=/dev/zero of=/dev/da0 count=2

first your disk is adx and the second time it is dax

Make sure you use the right disk.
There is also a part add the end of the disk that needs to be wiped, not 
only the start of the disk.


regards,
Johan Hendriks





___
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: returning to 8.2 from 9.0

2011-09-10 Thread Fbsd8

Johan Hendriks wrote:

Fbsd8 schreef:

Johan Hendriks wrote:

Fbsd8 schreef:
Have test pc. Been running 8.2 just fine. Installed 9.0 from cd and 
after playing around tried to reinstall 8.2. Got error about GTP 
table while trying to setup the HD. Used 8.0 livecd to

dd if=/del/zero of=/dev/ad0 count=5 to wipe the start of the HD clean.
Now 8.2 install issues this msg
GEOM: ad0: the primary GPT table is corrupt or invalid.

How do I fix the HD so 8.2 will install?
___
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

maybe this little script helps you.
http://wiki.freenas.org/faq:0129

It helped me in several situations.

If that does not do the job, you could try dban disknuke that will 
wipe the disk completely


regards,
Johan Hendriks





diskinfo da0

says Device not configured

I all ready did  dd if=/dev/zero of=/dev/da0 count=2 to wipe the 
front of the disk.

i now see two different things?
dd if=/del/zero of=/dev/ad0 count=5
dd if=/dev/zero of=/dev/da0 count=2

first your disk is adx and the second time it is dax

Make sure you use the right disk.
There is also a part add the end of the disk that needs to be wiped, not 
only the start of the disk.


regards,
Johan Hendriks






Thanks that little script at

http://wiki.freenas.org/faq:0129

did the trick.
___
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: Samba question

2011-09-10 Thread Polytropon
On Sat, 10 Sep 2011 11:53:48 +0100, Graeme Dargie wrote:
 I am trying to mount a samba share that is on a FreeBSD 8.2
 server to another FreeBSD 8.2 server,
 
 Mount_smbfs -I IP //user@host/share /mountpoint
 
 It then asks for a password, I enter the users password
 and then get mount_smbfs: unable to open connection:
 syserr = Authentication error
 
 Dmesg is showing smb_co_lock: recursive lock for object 1
 
 I have samba integrated with Active Directory, so I then thought
 ah maybe adding the user to AD would help, so I have done so
 using the same password etc still no joy, I have make sure the
 user has access rights on the samba share, restarted samba and
 the same error persists, any ideas ?

Sorry, my indivudal knowledge on Windows related things
is very limited, but maybe you need to add some information
into /etc/nsmb.conf?

Maybe like this:

[default]
workgroup=YOUR_WORKGROUP_NAME

[SERVERNAME]
addr=192.168.2.2

[SERVERNAME:USERNAME]
password=TOPSECRET

where SERVERNAME and USERNAME correspond to the server's name
and the username you use to access the share (with the proper
password).

See man nsmb.conf for details.

Parts of those information should then be reflected in /etc/fstab,
maybe like this:

//user@SERVERNAME/share  /smb/share  smbfs  rw,noauto  0  0

This should allow you to use

# mount /smb/share

a bit easier (and automatically, if desired).



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Samba question

2011-09-10 Thread Michael Powell
Polytropon wrote:

 On Sat, 10 Sep 2011 11:53:48 +0100, Graeme Dargie wrote:
 I am trying to mount a samba share that is on a FreeBSD 8.2
 server to another FreeBSD 8.2 server,
 
 Mount_smbfs -I IP //user@host/share /mountpoint
 
 It then asks for a password, I enter the users password
 and then get mount_smbfs: unable to open connection:
 syserr = Authentication error
 
 Dmesg is showing smb_co_lock: recursive lock for object 1
 
 I have samba integrated with Active Directory, so I then thought
 ah maybe adding the user to AD would help, so I have done so
 using the same password etc still no joy, I have make sure the
 user has access rights on the samba share, restarted samba and
 the same error persists, any ideas ?
 
 Sorry, my indivudal knowledge on Windows related things
 is very limited, but maybe you need to add some information
 into /etc/nsmb.conf?
 
 Maybe like this:
 
 [default]
 workgroup=YOUR_WORKGROUP_NAME
 
 [SERVERNAME]
 addr=192.168.2.2
 
 [SERVERNAME:USERNAME]
 password=TOPSECRET
 
 where SERVERNAME and USERNAME correspond to the server's name
 and the username you use to access the share (with the proper
 password).
 
 See man nsmb.conf for details.
 
 Parts of those information should then be reflected in /etc/fstab,
 maybe like this:
 
 //user@SERVERNAME/share  /smb/share  smbfs  rw,noauto  0  0
 
 This should allow you to use
 
 # mount /smb/share
 
 a bit easier (and automatically, if desired).
 

Although it has been ages since I played with this, one thing I do recall: 
It matters that where indicated above the characters _must_ be in upper 
case. When I used to use such a setup I found it wouldn't work without it. 
Never knew exactly quite why. 

-Mike


___
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


Free BSD 9.0 Beta question

2011-09-10 Thread mikelectronic


Hi,

I'm from Portugal, I see this software on the net, and I make a Live  
cd to test him, But, when I try to run it, it ask me for a Login and  
Password, so my question is where can I get Login and Password?


Please feedback...

Br

Miguel Ferreira

Portugal
___
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: Free BSD 9.0 Beta question

2011-09-10 Thread Polytropon
On Sat, 10 Sep 2011 20:12:47 +0100, mikelectro...@sapo.pt wrote:
 
 Hi,
 
 I'm from Portugal, I see this software on the net, and I make a Live  
 cd to test him, But, when I try to run it, it ask me for a Login and  
 Password, so my question is where can I get Login and Password?

Per default, the username root is defined for the system
administrator, and has an _empty_ password. You can add a
username for yourself (see adduser command) and define
your own password. Password changes are done using the
passwd interactive command; see man passwd for details.

You'll find excellent documentation about FreeBSD on the
main web site.

The FreeBSD Handbook:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/

The FreeBSD FAQ:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/

Maybe I may also recommend this one for beginners:

Introduction to FreeBSD.
An Absolute Beginners Guide to FreeBSD:
http://www.vmunix.com/fbsd-book/book.phtml

In your case, refer to
15.1.   User Names and Passwords -- Logging In:
http://www.vmunix.com/fbsd-book/book.phtml#s1-15-1



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


Draugs, paņammā kvalitatīvos ikrus jau tagad

2011-09-10 Thread Steven Gandy
Kad Tu pēdējo reizi uzkodi melnos ikrus? 

Protams - sen.. tāpēc, ka dārgi sanāk, vai ne? 

Bet turīgie tos tiesā katru mīļu dienu - jo tas ir ļoti forši..

Tu neesi tik bagāts? 

Neraudi, skaties, kā par biezuci var kļūt: 

http://lovejitsu.com/store/images/biezucis.php  

Klauss UldisMartins 

 

___
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: get rel 9.0 iso

2011-09-10 Thread Thomas Mueller mueller6727
To build FreeBSD 9.0 on USB stick for the old computer, host computer would be 
new amd64, cross-compiling for i386.

I see default /var partition size for new FreeBSD installations was to be 4 GB, 
so I might be safer with 16 GB rather than 8 GB USB stick, even though there 
would be no need to install system source and ports tree on the USB stick.  But 
I had already decided that I was not going to have separate partitions for 
/tmp, /var and /usr, but would want a separate partition for /home, except 
possibly on a USB stick.

Now it looks like FreeBSD 9.0-to-be is pushing the idea of installing on GPT; 
even the memstick installation disk, where traditional MBR partitioning scheme 
would fit comfortably, uses GPT.

I could build one kernel that would support the hardware on both computers, or 
one kernel for each computer.

FreeBSD itself can run comfortably in well under 256 MB RAM.  Resource hogs are 
the big applications: KDE, GNOME, bigger web browsers, multimedia, Adobe Flash 
Player, printers.  Servers, not needing all the fancy stuff, can be set up on 
old computers as long as they're in good condition.

Tom

___
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: get rel 9.0 iso

2011-09-10 Thread Polytropon
On Sun, 11 Sep 2011 04:11:26 + (GMT), Thomas Mueller wrote:
 To build FreeBSD 9.0 on USB stick for the old computer, host
 computer would be new amd64, cross-compiling for i386.

Yes, in this case you would need to cross-compile.



 I see default /var partition size for new FreeBSD installations
 was to be 4 GB, so I might be safer with 16 GB rather than 8 GB
 USB stick, even though there would be no need to install system
 source and ports tree on the USB stick. 

Those would have been installed on the /usr partition, not
on /var. I think 8 GB might be a quite huge partition, but
that will depend on what you intend to use your server for.
In some cases /var won't get bigger than 1 GB, on other
cases it might fill up quite quickly.

% df -h /var
Filesystem SizeUsed   Avail Capacity  Mounted on
/dev/ad4s1e989M133M776M15%/var

This is an example from my home system - you can see that
/var is hardly used.



 But I had already decided that I was not going to have
 separate partitions for /tmp, /var and /usr, but would
 want a separate partition for /home, except possibly
 on a USB stick.

That's a good idea, so you can get rid of partition size
calculations. But note that some temporary process might
fill /tmp and therefore affect the _whole_ partition that
also contains /usr. But maybe that won't be a problem as
you put /home somewhere else.



 Now it looks like FreeBSD 9.0-to-be is pushing the idea
 of installing on GPT; even the memstick installation disk,
 where traditional MBR partitioning scheme would fit
 comfortably, uses GPT.

You can easily apply GTP partitions for the same purpose,
e. g. da0p1 for / (including /tmp, /var and /usr subtrees)
and da0p2 for /home if you want them on _one_ media - or
put da0p1 covering the whole stick to be mounted as /,
and da1p1 (second USB media) for /home.



 I could build one kernel that would support the hardware
 on both computers, or one kernel for each computer.

One for each, as you probably will use AMD64 kernel on the
bigger machine. But you still _can_ use i386 on both of
them except you intendedly _require_ AMD64 functionality
on the bigger machine.



 FreeBSD itself can run comfortably in well under 256 MB RAM.

Yes, the OS has no problem booting fast even on such limited
hardware.



 Resource hogs are the big applications: KDE, GNOME, bigger
 web browsers, multimedia, Adobe Flash Player, printers. 

Uhm... printers??? Oh, maybe CUPS, yes. :-)

You can _still_ build workstation systems on limited
hardware, but you have to be _very_ picky about the
applications you use.

For example, I have a 300 MHz P2 workstation that runs
XFCE 3, Opera 8, mplayer (compiled because of getting
the best optimization!), OpenOffice 2, xmms and LaTeX.
This system runs well and is still quite usable.



 Servers, not needing all the fancy stuff, can be set up on
 old computers as long as they're in good condition.

I completely agree, as I'm following this philosophy myself.




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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