tar fails on FreeBSD 7 and passes on FreeBSD 6 for the same input
Hi, I am getting the following error when i run tar on a directory. [chan...@home]$ tar zcf config-xsl.tar config-xsl/9.6 tar: Cannot open directory config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/bfd-liveness-detection/detection-time: No such file or directory tar: Cannot open directory config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/bfd-liveness-detection/failure-action: No such file or directory [chan...@home]$ ldd tar tar: libc.so.6 = /usr/local/lib/compat/libc.so.6 (0x28097000) chan...@home]$ uname -a FreeBSD chandra 7.1-RC1 FreeBSD 7.1-RC1 #0: Sun Dec 7 05:57:33 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I have debugged libc and found that system call fstafs is failing and returning -1. Can any one help me what is the real problem here and how to fix it? Thanks Chandra_ -- debugging a buggy debugger with a cross buggy debugger leads to a buggy life ___ 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: tar fails on FreeBSD 7 and passes on FreeBSD 6 for the same input
Hi Doug, I have checked the files permission. It is fine. It passes on FreeBSD6 but fails on FreeBSD 7. It passes on a local file system but fails on NFS file system. Thanks -Chandra On Tue, Jan 20, 2009 at 2:02 PM, Doug Hardie bc...@lafn.org wrote: On Jan 19, 2009, at 23:54, chandra reddy wrote: Hi, I am getting the following error when i run tar on a directory. [chan...@home]$ tar zcf config-xsl.tar config-xsl/9.6 tar: Cannot open directory config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/bfd-liveness-detection/detection-time: No such file or directory tar: Cannot open directory config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/bfd-liveness-detection/failure-action: No such file or directory [chan...@home]$ ldd tar tar: libc.so.6 = /usr/local/lib/compat/libc.so.6 (0x28097000) chan...@home]$ uname -a FreeBSD chandra 7.1-RC1 FreeBSD 7.1-RC1 #0: Sun Dec 7 05:57:33 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I have debugged libc and found that system call fstafs is failing and returning -1. Can any one help me what is the real problem here and how to fix it? Check and be sure that those directories have r and x for the user running tar. It looks like a permission problem. -- debugging a buggy debugger with a cross buggy debugger leads to a buggy life ___ 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
unable to logon after updating ports collection - Freebsd 7.1 stable
Hello, After I completed my Freebsd 7.1 stable, and updated all the ports, I got prompted with another logonscreen. Whatever I try, I can't login with my useraccount and even not logon as root. This happened severall times now, the only way was to reinstall everything, and I was hoping to resolve this by completly finish upgrading the ports. And .. again the same problem. I'm really hoping to get some answers that will solve this problem, maybe someone had to deal with this issue before ?? I will not give up, because Freebsd stole my heart. Regards, Roy. ___ 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
Intel 5100 AGN WiFi
Hello, After a quick search it appears that Intel 5100 AGN wifi card is not supported (at least not in RELEASE?). If so, are there plans, dev. in progress, etc? Thanks. ___ 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: Recommendations on reliable home fileserver hardware?
there is also the droboshare. great little fileserver. Last I knew Drobo supported only Samba, not NFS -- but that was some time ago. Have they come out with an upgrade? ___ 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
init: can't exec getty after power failure
Hello list, I have FreeBSD 7.0-p5 installed on 2 USB drives mirroring with gmirror. I use the following partition scheme: / - on USB /var, /usr, /tmp, /home - on internal HDD using ZFS. Last night after a power failure the system failed to boot with the following error: ... can't find /boot/loader.4th. Entered BIOS and changed the first boot drive to be the second USB from raid. The system boots but it stops here: Trying to mount root from ufs:/dev/mirror/gm0s1a Loading configuration file /libexec/ld-elf.so.1: /lib/libutil.so.7: object is not dynamically linked init: can't exec getty '/usr/libexec' getty for port /dev/ttyv7: No such file or directory ttyv[n] in fact where 'n' takes values from 0 - 7. Booted into single user mode, fsck-ed the root partition and tried to mount all the UFS partitions (/var, /usr) from the USB drive but the mount command fails with the /libexec/ld-elf.so.1: /lib/libutil.so.7: object is not dynamically linked error. Is there anything i can do next besides reinstallation? thank you very much and a great day, v ___ 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
FreeBSD 7.1, skype not work
Hi people. Im'm use skype-2.0.0.72,1 on my FreeBSD FreeBSD user 7.0 FreeBSD 7.0 r...@user:/usr/src/sys/i386/compile/user i386 with linux linux_base-fc6 /compat/linux/bin/uname -a Linux user 2.6.16 FreeBSD 7.0 i686 i686 i386 GNU/Linux sysctl compat.linux.osrelease=2.6.16 just because skype2 not work with linux_base-fc4 because it have 2.4.x kernel and skype need 2.6.x. I'm update FreeBSD to 7.1-RELEASE-p1 freebsd-update fetch, install FreeBSD user 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 r...@user:/usr/src/sys/i386/compile/user i386 After update I run skype and nothing happen. user# skype user# Thanks! ___ 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: FreeBSD 7.1, skype not work
On Tuesday 20 January 2009 01:21:43 Горбатовский Дмитрий wrote: Hi people. Im'm use skype-2.0.0.72,1 on my FreeBSD FreeBSD user 7.0 FreeBSD 7.0 r...@user:/usr/src/sys/i386/compile/user i386 with linux linux_base-fc6 /compat/linux/bin/uname -a Linux user 2.6.16 FreeBSD 7.0 i686 i686 i386 GNU/Linux sysctl compat.linux.osrelease=2.6.16 just because skype2 not work with linux_base-fc4 because it have 2.4.x kernel and skype need 2.6.x. I'm update FreeBSD to 7.1-RELEASE-p1 freebsd-update fetch, install FreeBSD user 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 r...@user:/usr/src/sys/i386/compile/user i386 After update I run skype and nothing happen. user# skype user# Thanks! Try rebuilding your linux_base by following the instructions in UPDATING 20080318 and make sure you have linprocfs mounted. Beech -- --- Beech Rintoul - FreeBSD Developer - be...@freebsd.org /\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.1R/announce.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
FreeBSD 7.1, skype not work
Hi people. Im'm use skype-2.0.0.72,1 on my FreeBSD FreeBSD user 7.0 FreeBSD 7.0 r...@user:/usr/src/sys/i386/compile/user i386 with linux linux_base-fc6 /compat/linux/bin/uname -a Linux user 2.6.16 FreeBSD 7.0 i686 i686 i386 GNU/Linux sysctl compat.linux.osrelease=2.6.16 just because skype2 not work with linux_base-fc4 because it have 2.4.x kernel and skype need 2.6.x. I'm update FreeBSD to 7.1-RELEASE-p1 freebsd-update fetch, install FreeBSD user 7.1-RELEASE-p1 FreeBSD 7.1-RELEASE-p1 r...@user:/usr/src/sys/i386/compile/user i386 After update I run skype and nothing happen. user# skype user# Thanks! ___ 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
Large raid arrays
Hi, I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays. For the backup system we are using, I need to join them to make 1 logical device. What would you recomment? ccd or vinum? Thanks a lot for your suggestions. ___ 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: Large raid arrays
Matias Surdi escribió: Hi, I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays. For the backup system we are using, I need to join them to make 1 logical device. What would you recomment? ccd or vinum? Thanks a lot for your suggestions. ___ 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 Some comments that may help in the decision: - Reliability/resistance to power failures are the most important factor. - It doesn't require high performance or high speed. Thanks a lot. ___ 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: Large raid arrays
Matias Surdi wrote: Matias Surdi escribió: Hi, I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays. For the backup system we are using, I need to join them to make 1 logical device. What would you recomment? ccd or vinum? Some comments that may help in the decision: - Reliability/resistance to power failures are the most important factor. - It doesn't require high performance or high speed. Either gconcat or ZFS, depending which version of FreeBSD you're running. gconcat label -v data /dev/raid1 /dev/raid2 newfs /dev/concat/data mkdir /mnt/data mount /dev/concat/data /mnt/data df -h /mnt/data or zpool create data /dev/raid1 /dev/raid2 df -h /data -- Frederique ___ 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: Large raid arrays
Frederique Rijsdijk escribió: Matias Surdi wrote: Matias Surdi escribió: Hi, I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays. For the backup system we are using, I need to join them to make 1 logical device. What would you recomment? ccd or vinum? Some comments that may help in the decision: - Reliability/resistance to power failures are the most important factor. - It doesn't require high performance or high speed. Either gconcat or ZFS, depending which version of FreeBSD you're running. gconcat label -v data /dev/raid1 /dev/raid2 newfs /dev/concat/data mkdir /mnt/data mount /dev/concat/data /mnt/data df -h /mnt/data or zpool create data /dev/raid1 /dev/raid2 df -h /data -- Frederique ___ 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 ZFS was a disaster. That is what we were using until today, when the power went off and the zfs pool ended up corrupted and irrecoverable. Three other times we had power failures, the zpool ended with some errors. But, all the times, the UFS partitions remained intact. I won't use ZFS for a long time. ___ 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: unable to logon after updating ports collection - Freebsd 7.1 stable
Roy Stuivenberg roys1...@gmail.com writes: After I completed my Freebsd 7.1 stable, and updated all the ports, I got prompted with another logonscreen. Whatever I try, I can't login with my useraccount and even not logon as root. This happened severall times now, the only way was to reinstall everything, and I was hoping to resolve this by completly finish upgrading the ports. And .. again the same problem. I'm really hoping to get some answers that will solve this problem, maybe someone had to deal with this issue before ?? I will not give up, because Freebsd stole my heart. The problem has nothing to do with ports. To restore your root/user logins: . boot into single user mode; . set a new root password; . set a new user password; . boot into multiuser mode; . login and have fun. WBR -- bsam ___ 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: unable to logon after updating ports collection - Freebsd 7.1 stable
Roy Stuivenberg roys1...@gmail.com writes: After I completed my Freebsd 7.1 stable, and updated all the ports, I got prompted with another logonscreen. Whatever I try, I can't login with my useraccount and even not logon as root. This happened severall times now, the only way was to reinstall everything, and I was hoping to resolve this by completly finish upgrading the ports. And .. again the same problem. I'm really hoping to get some answers that will solve this problem, maybe someone had to deal with this issue before ?? I will not give up, because Freebsd stole my heart. The problem has nothing to do with ports. To restore your root/user logins: . boot into single user mode; . set a new root password; . set a new user password; . boot into multiuser mode; . login and have fun. WBR -- bsam ___ I've had the same thing happen to me not 2 weeks ago after upgrading a server from 7.0-RC2 to 7.1-RELEASE with freebsd-update. For me the problem had nothing to do with ports but with the update itself, because it replaced my pwd.db and spwd.db with the default ones (root with no password, no user accounts) and since ssh doesn't accept root logins I ended up going to the datacenter and copying the backups of those db's back. Then everything was fine again. Very strange they got replaced though.. Sounds like you've had something similar happen to you. Hopefully your machine isn't too far away. Bert-Jan ___ 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: tar fails on FreeBSD 7 and passes on FreeBSD 6 for the same input
On Tue, Jan 20, 2009 at 01:24:41PM +0530, chandra reddy wrote: Hi, I am getting the following error when i run tar on a directory. [chan...@home]$ tar zcf config-xsl.tar config-xsl/9.6 tar: Cannot open directory config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/bfd-liveness-detection/detection-time: No such file or directory tar: Cannot open directory ... FreeBSD chandra 7.1-RC1 FreeBSD 7.1-RC1 #0: Sun Dec 7 05:57:33 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I have debugged libc and found that system call fstafs is failing and returning -1. I believe you will find that the system call is fstatfs. Can any one help me what is the real problem here and how to fix it? A subsequent message of your verified that the hierarchy being read was on an NFS-mounted file system. Perchance, was that NFS mount managwed by amd(8)? If so, while I do not have a fix for you, I am relieved to see someone else finally report these symptoms. Please see http://docs.FreeBSD.org/cgi/mid.cgi?20081203001538.GC96383 for an archived copy of my initial message in a thread reporting this. There is additional detail (including kernel trace information how-to-repeat instructions) in subsequent messages in the thread. Also mentioned is a circumvention -- basically, crippling amd(8) so it no longer attempts to unmount() a file system. However, I was unable to re-create the symptoms at home -- only at work. A colleague at work was able to re-create the symptoms, and was intending to experiment a bit more, but he's been busy with other things recently. Please contact me (off-list, if you prefer), and we can discuss additional details. Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. pgpRgd7rWpQt3.pgp Description: PGP signature
Portupgrade thru SSH session
Can someone tell me what I should attend for when I am disconnected in the middle of a portupgrade and the terminal session is aborted? The portupgrade was halted by a [yes/no] prompt, on which I had to react. Unfortunately being not present and I having not set my Putty keepalive session timeperiod I was disconnected due to no activity on this system prompt $-|. What I did after having logged on again was deleting that specific ruby process and some tty processes. Perhaps I should delete some other temp files as well? Thanks, Jos Chrispijn ___ 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: kvm switch
On Tuesday 20 January 2009, Olivier Nicole wrote: I have been using Aten KVM switches for years and been very happy with them. [snip] To my knowledge it works with 3 button mouses (all mouses nowdays have 3 buttons). I have an Aten CS64A PS/2 4 port KVM http://preview.tinyurl.com/yte4et and it works fine with my 3 button mouse, supporting all 3 buttons and the scroll wheel. I've had FreeBSD, linux, Win98, XP and Vista boxes running through it at various times over the last 2 years and it's always worked just fine. My only minor niggle was that if I booted my FreeBSD box while the monitor was connected to one of the other boxes then KDE started up in 1024x768 mode instead if the monitor's default 1280x1024 mode. But that was easily sorted with a minor tweak to xorg.conf. -- Mike Clarke ___ 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: Portupgrade thru SSH session
On Tue, Jan 20, 2009 at 9:10 AM, Jos Chrispijn j...@webrz.net wrote: Can someone tell me what I should attend for when I am disconnected in the middle of a portupgrade and the terminal session is aborted? The portupgrade was halted by a [yes/no] prompt, on which I had to react. Unfortunately being not present and I having not set my Putty keepalive session timeperiod I was disconnected due to no activity on this system prompt $-|. What I did after having logged on again was deleting that specific ruby process and some tty processes. Perhaps I should delete some other temp files as well? For future runs, you might consider using something like screen (/usr/ports/sysutils/screen) so you can resume the session later, should you get disconnected. Josh ___ 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: Portupgrade thru SSH session
On 01/20/2009 09:10 AM Jos Chrispijn wrote: Can someone tell me what I should attend for when I am disconnected in the middle of a portupgrade and the terminal session is aborted? The portupgrade was halted by a [yes/no] prompt, on which I had to react. Unfortunately being not present and I having not set my Putty keepalive session timeperiod I was disconnected due to no activity on this system prompt $-|. What I did after having logged on again was deleting that specific ruby process and some tty processes. Perhaps I should delete some other temp files as well? Before I learned to run portupgrade in a screen session, I never had a problem just running portupgrade again. If I recall correctly the index needed to be rebuilt at times, but portupgrade gave a helpful message telling me that. Ron Wilhoite ___ 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
stable-supfile -- freebsd-update
Hello, I wanted to send a follow up on my message, because I did not provide much info ... ** Hello, After I completed my Freebsd 7.1 stable, and updated all the ports, I got prompted with another logonscreen. Whatever I try, I can't login with my useraccount and even not logon as root. This happened severall times now, the only way was to reinstall everything, and I was hoping to resolve this by completly finish upgrading the ports. And .. again the same problem. I'm really hoping to get some answers that will solve this problem, maybe someone had to deal with this issue before ?? * Follow up === My problem has something to do with gnome2 I guess. You see, I can logon, except in graphical user mode. This happend after complete update (gnome2 included) I get a different logon prompt, and then I already know I won't be able to logon. Only this time I was hoping an upgrade of all the ports would help me .. and it didn't. I really hope I will find or get an answer to this problem. Regards, Roy. ___ 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
How to auto-logout after XXX idle?
When ssh to a sever,how to auto-logout after XXX idle? in tcsh,I know to set autologout=X How in the default /bin/sh shell to autologut? ___ 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
telnet to mbmon
Hiya I am using mbmon in telnet mode to monitor some print servers remotely. REvcently I moved the monitoring form one server to another, but now the telnet probe only works from the command line. Any probe originating from a cron job gets no data in the reply (normally via mrtg, but I tried a direct telnet call as a cron job and it also got no data as a reply). Yes, the connection is made. mbmon is running on the targets. This is affecting 3 target print servers. I tried running the probe on the original server and it worked as usual. where to look? -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ 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: Large raid arrays
gconcat On Tue, 20 Jan 2009, Matias Surdi wrote: Hi, I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays. For the backup system we are using, I need to join them to make 1 logical device. What would you recomment? ccd or vinum? Thanks a lot for your suggestions. ___ 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 ___ 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: Large raid arrays
ZFS was a disaster. That is what we were using until today, when the power went off and the zfs pool ended up corrupted and irrecoverable. normal. Three other times we had power failures, the zpool ended with some errors. But, all the times, the UFS partitions remained intact. indeed. and fsck time can be fast if you correctly set up block size and amount of inodes. i mean not too much inodes and large blocks (32-64K) if you store mostly big files. I won't use ZFS for a long time. i would recommend never. ___ 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
switching bsdlabel's label
Hello, I have a certain disk where da0s1a and da0s1d are inverted. By some reason someone labelled root as 'd' and home as 'a'. Can I just bsdlabel -n da0s1 savedabel.txt Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) -- === Eduardo Meyer pessoal: dudu.me...@gmail.com profissional: ddm.farmac...@saude.gov.br ___ 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: Large raid arrays
Wojciech Puchar escribió: gconcat On Tue, 20 Jan 2009, Matias Surdi wrote: Hi, I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays. For the backup system we are using, I need to join them to make 1 logical device. What would you recomment? ccd or vinum? Thanks a lot for your suggestions. ___ 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 ___ 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 I've finally set it up with gconcat and works great. Many thanks for your help guys. ___ 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
NetBSD networking question
Hello, my name is Shawn Hoffman, and I am the Staffing Manager for Logikos Inc. Logikos is a product software development firm located in Fort Wayne, Indiana. I am contacting you in hopes that you might be able to offer suggestions as to where we might find a contract NetBSD Administrator. We are beginning a project for a client that necessitates this background. Is there someone you know who might have an interest in a contract opportunity of this sort? If so, I would appreciate any assistance your network of contacts may offer. Thank you. Shawn Hoffman - Staffing Manager Logikos Inc, 2914 Independence Drive Fort Wayne, IN 46808 260-483-3638 260-484-5268 fax shoff...@logikos.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: switching bsdlabel's label
Hello, On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote: I have a certain disk where da0s1a and da0s1d are inverted. By some reason someone labelled root as 'd' and home as 'a'. Can I just bsdlabel -n da0s1 savedabel.txt Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) Why not simply use bsdlabel -e da0s1? Kind regards, Patrick -- punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 i...@punkt.de http://www.punkt.de Gf: Jürgen Egeling AG Mannheim 108285 ___ 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
Strange nvidia GeForce 9800GT--harddrive conflict?
Hi, I'm trying to start X on FreeBSD-7.1-RELEASE (i386) with up-to-date ports tree with this graphics card: nvidia0: GeForce 9800 GT on vgapci0 vgapci0: child nvidia0 requested pci_enable_busmaster vgapci0: child nvidia0 requested pci_enable_io nvidia0: [GIANT-LOCKED] nvidia0: [ITHREAD] When I try to start X, with or without xorg.conf generated either by Xorg or by nvidia-xconfig, with or without kernel nvidia module loaded, I get a lot of errors like this: (EE) end of block range 0xfb begin 0xfffc Then, my hard drive detaches, like this (not copy-pasted text): ad7: FAILURE - device detached subdisk7: detached ... g_vfs_done(): ad7s1f [WRITE(offset=... length=...)]error = 6 ... vnode_pager_getpages: I/O read error panic: vinvalbuf: dirty bufs ... What is interesting is that I succeeded to start xinit once, without visible problems. The problem is similar to what was reported here: http://www.nvnews.net/vbulletin/archive/index.php/t-81983.html Does anybody know a solution? If more information about my system is needed, I'll post them. Jakub ___ 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
Permanent Delivery Failure
The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! The following addresses did NOT receive a copy of your message: p...@ua.fm pr...@ua.fm prav-...@ua.fm --- Session Transcript --- Tue 2009-01-20 22:52:02: Parsing message \pd5562648.msg Tue 2009-01-20 22:52:02: * From: questi...@freebsd.org Tue 2009-01-20 22:52:02: * To: p...@iptelecom.net.ua Tue 2009-01-20 22:52:02: * Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?= Tue 2009-01-20 22:52:02: * Message-ID: 006001c97b78$a19908ab$7e702...@sccvvfv Tue 2009-01-20 22:52:02: * Route slip host: ua.fm Tue 2009-01-20 22:52:02: * Route slip port: 25 Tue 2009-01-20 22:52:02: Attempting SMTP connection to [ua.fm] Tue 2009-01-20 22:52:02: Resolving MX records for [ua.fm] (DNS Server: 203.146.251.227)... Tue 2009-01-20 22:52:02: * P=005 S=000 D=ua.fm TTL=(753) MX=[mx3.ua.fm] {91.197.130.8} Tue 2009-01-20 22:52:02: * P=010 S=001 D=ua.fm TTL=(753) MX=[mx4.ua.fm] {91.198.36.33} Tue 2009-01-20 22:52:02: * P=020 S=002 D=ua.fm TTL=(753) MX=[mx1.ua.fm] {91.198.36.11} Tue 2009-01-20 22:52:02: * P=020 S=003 D=ua.fm TTL=(753) MX=[mx2.ua.fm] {91.198.36.8} Tue 2009-01-20 22:52:02: Attempting SMTP connection to [91.197.130.8:25] Tue 2009-01-20 22:52:02: Waiting for socket connection... Tue 2009-01-20 22:52:02: * Connection established (127.0.0.1:4382 - 91.197.130.8:25) Tue 2009-01-20 22:52:02: Waiting for protocol to start... Tue 2009-01-20 22:52:03: -- 220 out01.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:51:46 +0200 Tue 2009-01-20 22:52:03: -- HELO mail.mcitsh.com Tue 2009-01-20 22:52:03: -- 250 out01.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138] Tue 2009-01-20 22:52:03: -- MAIL From:questi...@freebsd.org Tue 2009-01-20 22:52:04: -- 250 OK Tue 2009-01-20 22:52:04: -- RCPT To:p...@ua.fm Tue 2009-01-20 22:52:04: -- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:04: -- RCPT To:pr...@ua.fm Tue 2009-01-20 22:52:05: -- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:05: -- RCPT To:prav-...@ua.fm Tue 2009-01-20 22:52:05: -- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:05: -- QUIT Tue 2009-01-20 22:52:05: Attempting SMTP connection to [91.198.36.33:25] Tue 2009-01-20 22:52:05: Waiting for socket connection... Tue 2009-01-20 22:52:05: * Connection established (127.0.0.1:4405 - 91.198.36.33:25) Tue 2009-01-20 22:52:05: Waiting for protocol to start... Tue 2009-01-20 22:52:06: -- 220 web08.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:51:59 +0200 Tue 2009-01-20 22:52:06: -- HELO mail.mcitsh.com Tue 2009-01-20 22:52:06: -- 250 web08.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138] Tue 2009-01-20 22:52:06: -- MAIL From:questi...@freebsd.org Tue 2009-01-20 22:52:07: -- 250 OK Tue 2009-01-20 22:52:07: -- RCPT To:p...@ua.fm Tue 2009-01-20 22:52:07: -- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:07: -- RCPT To:pr...@ua.fm Tue 2009-01-20 22:52:08: -- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:08: -- RCPT To:prav-...@ua.fm Tue 2009-01-20 22:52:08: -- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:08: -- QUIT Tue 2009-01-20 22:52:08: Attempting SMTP connection to [91.198.36.11:25] Tue 2009-01-20 22:52:08: Waiting for socket connection... Tue 2009-01-20 22:52:08: * Connection established (127.0.0.1:4423 - 91.198.36.11:25) Tue 2009-01-20 22:52:08: Waiting for protocol to start... Tue 2009-01-20 22:52:09: -- 220 top.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:52:02 +0200 Tue 2009-01-20 22:52:09: -- HELO mail.mcitsh.com Tue 2009-01-20 22:52:10: -- 250 top.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138] Tue 2009-01-20 22:52:10: -- MAIL From:questi...@freebsd.org Tue 2009-01-20 22:52:10: -- 250 OK Tue 2009-01-20 22:52:10: -- RCPT To:p...@ua.fm Tue 2009-01-20 22:52:11: -- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:11: -- RCPT To:pr...@ua.fm Tue 2009-01-20 22:52:11: -- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:11: -- RCPT To:prav-...@ua.fm Tue 2009-01-20 22:52:11: -- 550 User not found. See http://mail.i.ua/err/2/ Tue 2009-01-20 22:52:11: -- QUIT Tue 2009-01-20 22:52:11: Attempting SMTP connection to [91.198.36.8:25] Tue 2009-01-20 22:52:11: Waiting for socket connection... Tue 2009-01-20 22:52:11: * Connection established (127.0.0.1:4440 - 91.198.36.8:25) Tue 2009-01-20 22:52:11: Waiting for protocol to start... Tue 2009-01-20 22:52:12: -- 220 xray2.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 17:52:05 +0200 Tue 2009-01-20 22:52:12: -- HELO mail.mcitsh.com Tue
Re: switching bsdlabel's label
On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen hau...@punkt.de wrote: Hello, On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote: I have a certain disk where da0s1a and da0s1d are inverted. By some reason someone labelled root as 'd' and home as 'a'. Can I just bsdlabel -n da0s1 savedabel.txt Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) Why not simply use bsdlabel -e da0s1? Because I didnt know about that? ;-) Thank you for the hint. However I still have the same doubt. Since basically its the same task, Is it safe do relabel this way? Kind regards, Patrick -- punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 i...@punkt.de http://www.punkt.de Gf: Jürgen Egeling AG Mannheim 108285 -- === Eduardo Meyer pessoal: dudu.me...@gmail.com profissional: ddm.farmac...@saude.gov.br ___ 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
ASL 2.0 based software contribution to FreeBSD code base
Hi: Is Apache Software License (ASL) 2.0 based software contributions accepted in FreeBSD code base ? Specific case to consider would be: a. device driver code released under ASL 2.0 b. code contributed to kernel (eg. scheduler implementation) under ASL 2.0 c. code contributed to userland (eg. new implementation of ctags) under ASL 2.0 Can some of the experienced members share how things work within the context of FreeBSD project ? -- thanks Saifi. Twincling Technology Foundation freedom of innovation http://www.twincling.org/ ___ 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: switching bsdlabel's label
On Tue, Jan 20, 2009 at 03:36:34PM -0200, Eduardo Meyer wrote: ... Why not simply use bsdlabel -e da0s1? Because I didnt know about that? ;-) Thank you for the hint. However I still have the same doubt. Since basically its the same task, Is it safe do relabel this way? I have done it several times without any problems. Do, however, ensure that your /etc/fstab entries match the result before you reboot; attempting a mount by hand (merely specifying either the mount point or the device, but not both) before your next reboot can serve as a useful reality check. Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. pgpL5iCUbcJ8Z.pgp Description: PGP signature
Re: switching bsdlabel's label
On Tue, Jan 20, 2009 at 03:36:34PM -0200, Eduardo Meyer wrote: On Tue, Jan 20, 2009 at 2:13 PM, Patrick M. Hausen hau...@punkt.de wrote: Hello, On Tue, Jan 20, 2009 at 01:24:27PM -0200, Eduardo Meyer wrote: I have a certain disk where da0s1a and da0s1d are inverted. By some reason someone labelled root as 'd' and home as 'a'. Can I just bsdlabel -n da0s1 savedabel.txt Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) Why not simply use bsdlabel -e da0s1? Because I didnt know about that? ;-) Thank you for the hint. However I still have the same doubt. Since basically its the same task, Is it safe do relabel this way? Hmmm. Is there stuff written on the disk. Is root stuff really written on da0s1d and /home stuff really written on da0s1a? Does the system boot from it OK? Or is it just that the mounts are switched. The mount points are not written in to the label. That comes after booting. If it boots, I wonder if it really is switched on the partitions or if it is just that the partitions are mounted backwards (probably due to editing /etc/fstab incorrectly). jerry Kind regards, Patrick -- punkt.de GmbH * Kaiserallee 13a * 76133 Karlsruhe Tel. 0721 9109 0 * Fax 0721 9109 100 i...@punkt.de http://www.punkt.de Gf: Jürgen Egeling AG Mannheim 108285 -- === Eduardo Meyer pessoal: dudu.me...@gmail.com profissional: ddm.farmac...@saude.gov.br ___ 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 ___ 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: Cannot perform user mounts after upgrade
Ramiro Caso misha...@hotmail.com writes: I can't perform user mounts for my pendrive, and I used to be able to, before making an upgrade. Moreover, user mounts for both /dev/cd0 and /dev/fd0 are still operational. Root mounts are possible, but it's doesn't strike me as good practice, and it is a little bit of an annoyance. I need help, at least a hint in some direction or other, because at this point I'm clueless. I'm running FreeBSD 7.1-RELEASE-p2, GENERIC kernel, i386. I just did a major ports updating, including perl-5.8.8 == perl-5.8.9. I ran the perl-after-upgrade script, and warned me about possible problems with /usr/local/sbin/snmpd and /usr/local/sbin/snmptrapd, but nothing else. I also recently installed /usr/ports/misc/compat5x, among other ports. I have some security and related ports installed, but they never caused problems before. The command I used is the expected one: % mount -t msdosfs /dev/da0s1 ~/media/pendrive Now it gives the following (quite uninformative) error: mount_msdosfs: /dev/da0s1: : Operation not permitted Strangely enough, a user mount with a read-only option works just fine: % mount -o ro -t msdosfs /dev/da0s1 ~/media/pendrive The mount point still has the same ownership (me) and permissions (755) as before. Both /etc/devfs.rules, /etc/rc.conf and /etc/sysctl.conf have the relevant lines for allowing user mounts, namely: /etc/sysctl.conf== vfs.usermount=1 /etc/devfs.rules== [localrules=10] add path 'da*s*' mode 0660 group usb /etc/rc.conf== devfs_system_ruleset=localrules I don't recall this being necessary, but I also have devd enabled in rc.conf, although with no special rules for umass in devd.conf. Needless to say, I belong to group usb. This configuration worked before just fine. Any ideas? You certainly always needed permissions on a device to be able to mount it. For a device already present at boot time, you would need an entry in devfs.rules. For a device plugged in later, you would instead need devd to know how to handle it. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: DUMP: read error: Bad address
Chris Jones ch...@cjones.org writes: I have an amd64 machine with two drives. I've got my system set up on ad8, and I'm building a RAID0 array using gvinum that will span ad8 and ad10. So for now, I have partitions on ad8 plus a set of volumes on ad10 that I want to move all my data to. Today I was doing a test move of all the data, using dump | restore like this: # dump -0aL -f - /var | ( cd /mnt/var restore -rf - ) I got about a dozen messages like this: DUMP: read error from /dev/ad8s1d: Bad address: [block 10992192]: count=5120 What is causing this message, and is it a cause for alarm? Here's my bsdlabel for ad8s1: # /dev/ad8s1: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 104857604.2BSD 2048 16384 8 b: 4123872 1048576 swap c: 4882795470unused0 0 # raw part, don't edit d: 104857600 51724484.2BSD 2048 16384 28528 e: 2097152 1100300484.2BSD 2048 16384 28528 f: 376152347 1121272004.2BSD 2048 16384 28528 Thanks in advance for any help. It could be a serious problem, but is not necessarily such. Can you use smarttools to query the disk firmware for *its* opinion? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: Port 7070
Doug Hardie bc...@lafn.org writes: I just ran a netcat (nc -z) on my production servers and found an unusual response: Connection to 7070 port [tcp/arcp] succeeded! I checked on all my production and test servers (7.0 stable as of quite some time ago) and got the same response. I can't figure out why that port is open. It always returns a reset when a connection is opened. netstat -an does not return any 7070 entries. sockstat does not show any 7070 entries. There is no 7070 entry in /etc/services. ktrace of inetd shows nothing. tcpdump on the server shows the SYN and RST packets only. tcpdump on the client machine shows a complete TCP negotiation completion followed by a termination. The client is going across the internet. Running the client on a machine on the servers LAN shows that the port is not open. And tcpdump from both shows only a SYN followed by a RST. This indicates that some router between the original client and the servers is accepting the connection and then forwarding it on. This doesn't happen on other ports (although there may be a couple others I haven't chased down yet though). The only router we have in the path is a Cisco 2501 running a 2000 vintage IOS with nothing like that in its configuration. Its a simple pass everything through setup. Any ideas what is happening here? Sounds like the router is blocking most incoming connections, but not 7070. 7070 is sometimes used for RSTP, which makes some sense to let through. Nothing is actually listening on that port on the server, though, which is why you don't see anything in sockstat et. al. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ 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: NetBSD networking question
On Tue, Jan 20, 2009 at 10:26 AM, Shawn Hoffman shoff...@logikos.comwrote: Hello, my name is Shawn Hoffman, and I am the Staffing Manager for Logikos Inc. Logikos is a product software development firm located in Fort Wayne, Indiana. I am contacting you in hopes that you might be able to offer suggestions as to where we might find a contract NetBSD Administrator. We are beginning a project for a client that necessitates this background. Is there someone you know who might have an interest in a contract opportunity of this sort? If so, I would appreciate any assistance your network of contacts may offer. Thank you. Shawn Hoffman - Staffing Manager Logikos Inc, 2914 Independence Drive Fort Wayne, IN 46808 260-483-3638 260-484-5268 fax shoff...@logikos.com Although you may find the person you need on this list, you will probably have better luck contacting the NetBSD community. You can find more information at http://netbsd.org. Best of luck, Andrew Gould ___ 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: Cannot perform user mounts after upgrade
On Tue, Jan 20, 2009 at 01:44:48PM -0500, Lowell Gilbert wrote: The mount point still has the same ownership (me) and permissions (755) as before. Both /etc/devfs.rules, /etc/rc.conf and /etc/sysctl.conf have the relevant lines for allowing user mounts, namely: /etc/sysctl.conf== vfs.usermount=1 /etc/devfs.rules== [localrules=10] add path 'da*s*' mode 0660 group usb /etc/rc.conf== devfs_system_ruleset=localrules I don't recall this being necessary, but I also have devd enabled in rc.conf, although with no special rules for umass in devd.conf. Needless to say, I belong to group usb. This configuration worked before just fine. Any ideas? You certainly always needed permissions on a device to be able to mount it. For a device already present at boot time, you would need an entry in devfs.rules. For a device plugged in later, you would instead need devd to know how to handle it. For stuff available at boot you should use devfs.conf. The devfs.rules file is for devices that are plugged in later. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpPE1yfWsAy9.pgp Description: PGP signature
Re: DUMP: read error: Bad address
Lowell Gilbert wrote: Chris Jones ch...@cjones.org writes: # dump -0aL -f - /var | ( cd /mnt/var restore -rf - ) I got about a dozen messages like this: DUMP: read error from /dev/ad8s1d: Bad address: [block 10992192]: count=5120 It could be a serious problem, but is not necessarily such. Can you use smarttools to query the disk firmware for *its* opinion? SMART Error Log Version: 1 No Errors Logged ...so I assume the drive thinks it's doing just fine. Is this likely coming from a signal error, like a bad cable? Is it random driver lossage? Most importantly, is the ATA driver going to retry and correct this error, or does it mean I'm getting corrupted data on my disks? Chris ___ 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
slices to dangerously dedicated
Suppose I have a disk which was - for various reasons - lebeled using slices. Is it possible to change it to dangerously dedicated without backup-wipe-relabel-restore cycle? Robert Huff ___ 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: slices to dangerously dedicated
On Jan 20, 2009, at 11:47 AM, Robert Huff wrote: Suppose I have a disk which was - for various reasons - lebeled using slices. Is it possible to change it to dangerously dedicated without backup-wipe-relabel-restore cycle? Nope. Since you'd only gain a megabyte of disk space (probably less) from the change, it's not worth bothering with, frankly... Regards, -- -Chuck ___ 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
Edit user groups
Hi, I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. I made about 4 for myself to use and do various testing with, and made some for my Wife as well because She knows UNIX better than I do anyway heh. Anyway, one of the things I forgot about, was that FreeBSD by default doesn't allow just anyone to use su. I come from mainly using Linux, where you can log in and then whenever you need to open a root xterm or even a root shell, you just type the password and go. I looked up how to do this but most of my results came back with setting up user accounts, and other things. I did add another user that was in the wheel group so I could do it, but I'd really like to be able to add my main user account to the wheel group so I can su from this one instead of doing su otheruser and then su again to root. I found while searching for this something that MIGHT be what I'm looking for, but after reading it over, it seems I'd have to read through the whole man page first and then, it could be bad if I mistype something, or I could even screw up an account, which I can't risk. Is there an exact way to take a user account on my system, and add it to the wheel group? ___ 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
Permanent Delivery Failure
The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! Failed address: vodgel...@zadqinuwu.com --- Session Transcript --- Wed 2009-01-21 02:45:01: Parsing message \pd5582630.msg Wed 2009-01-21 02:45:01: * From: questi...@freebsd.org Wed 2009-01-21 02:45:01: * To: vodgel...@zadqinuwu.com Wed 2009-01-21 02:45:01: * Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?= Wed 2009-01-21 02:45:01: * Message-ID: 005001c97b9c$ff77b363$d3a58...@ejhqluzrpz Wed 2009-01-21 02:45:01: Attempting SMTP connection to [zadqinuwu.com] Wed 2009-01-21 02:45:01: Resolving MX records for [zadqinuwu.com] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * Name server reports domain name unknown Wed 2009-01-21 02:45:01: Attempting SMTP connection to [zadqinuwu.com:25] Wed 2009-01-21 02:45:01: Resolving A record for [zadqinuwu.com] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * Name server reports domain name unknown --- End Transcript --- md5075602.eml Description: Binary data ___ 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
Permanent Delivery Failure
The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! Failed address: vod...@lpqa.info --- Session Transcript --- Wed 2009-01-21 02:45:01: Parsing message \pd5582628.msg Wed 2009-01-21 02:45:01: * From: questi...@freebsd.org Wed 2009-01-21 02:45:01: * To: vod...@lpqa.info Wed 2009-01-21 02:45:01: * Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?= Wed 2009-01-21 02:45:01: * Message-ID: 005001c97b9c$ff77b363$d3a58...@ejhqluzrpz Wed 2009-01-21 02:45:01: Attempting SMTP connection to [lpqa.info] Wed 2009-01-21 02:45:01: Resolving MX records for [lpqa.info] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * Name server reports domain name unknown Wed 2009-01-21 02:45:01: Attempting SMTP connection to [lpqa.info:25] Wed 2009-01-21 02:45:01: Resolving A record for [lpqa.info] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * Name server reports domain name unknown --- End Transcript --- md5075601.eml Description: Binary data ___ 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
Permanent Delivery Failure
The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! Failed address: voden...@ua.fm --- Session Transcript --- Wed 2009-01-21 02:45:01: Parsing message \pd5582629.msg Wed 2009-01-21 02:45:01: * From: questi...@freebsd.org Wed 2009-01-21 02:45:01: * To: voden...@ua.fm Wed 2009-01-21 02:45:01: * Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?= Wed 2009-01-21 02:45:01: * Message-ID: 005001c97b9c$ff77b363$d3a58...@ejhqluzrpz Wed 2009-01-21 02:45:01: Attempting SMTP connection to [ua.fm] Wed 2009-01-21 02:45:01: Resolving MX records for [ua.fm] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * P=005 S=002 D=ua.fm TTL=(198) MX=[mx3.ua.fm] {91.197.130.8} Wed 2009-01-21 02:45:01: * P=010 S=003 D=ua.fm TTL=(198) MX=[mx4.ua.fm] {91.198.36.33} Wed 2009-01-21 02:45:01: * P=020 S=000 D=ua.fm TTL=(198) MX=[mx1.ua.fm] {91.198.36.11} Wed 2009-01-21 02:45:01: * P=020 S=001 D=ua.fm TTL=(198) MX=[mx2.ua.fm] {91.198.36.8} Wed 2009-01-21 02:45:01: Attempting SMTP connection to [91.197.130.8:25] Wed 2009-01-21 02:45:01: Waiting for socket connection... Wed 2009-01-21 02:45:01: * Connection established (127.0.0.1:3016 - 91.197.130.8:25) Wed 2009-01-21 02:45:01: Waiting for protocol to start... Wed 2009-01-21 02:45:02: -- 220 out01.mi6.kiev.ua ESMTP Exim 4.69 Tue, 20 Jan 2009 21:44:42 +0200 Wed 2009-01-21 02:45:02: -- HELO mail.mcitsh.com Wed 2009-01-21 02:45:03: -- 250 out01.mi6.kiev.ua Hello mail.mcitsh.com [202.93.61.138] Wed 2009-01-21 02:45:03: -- MAIL From:questi...@freebsd.org Wed 2009-01-21 02:45:03: -- 250 OK Wed 2009-01-21 02:45:03: -- RCPT To:voden...@ua.fm Wed 2009-01-21 02:45:04: -- 550 User not found. See http://mail.i.ua/err/2/ Wed 2009-01-21 02:45:04: -- QUIT --- End Transcript --- md5075605.eml Description: Binary data ___ 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
Permanent Delivery Failure
The attached message had PERMANENT fatal delivery errors! After one or more unsuccessful delivery attempts the attached message has been removed from the mail queue on this server. The number and frequency of delivery attempts are determined by local configuration parameters. YOUR MESSAGE WAS NOT DELIVERED TO ONE OR MORE RECIPIENTS! Failed address: vodg...@carrier.kiev.ua --- Session Transcript --- Wed 2009-01-21 02:45:01: Parsing message \pd5582627.msg Wed 2009-01-21 02:45:01: * From: questi...@freebsd.org Wed 2009-01-21 02:45:01: * To: vodg...@carrier.kiev.ua Wed 2009-01-21 02:45:01: * Subject: =?windows-1251?B?z/Do5ews8+Lu6/zt5e3o5Szi++3z5uTl7e375SDv8O7j8+v7?= Wed 2009-01-21 02:45:01: * Message-ID: 005001c97b9c$ff77b363$d3a58...@ejhqluzrpz Wed 2009-01-21 02:45:01: Attempting SMTP connection to [carrier.kiev.ua] Wed 2009-01-21 02:45:01: Resolving MX records for [carrier.kiev.ua] (DNS Server: 203.146.251.198)... Wed 2009-01-21 02:45:01: * P=010 S=000 D=carrier.kiev.ua TTL=(3) MX=[mx.lucky.net] {62.244.55.219} Wed 2009-01-21 02:45:01: * P=010 S=001 D=carrier.kiev.ua TTL=(3) MX=[mx.lucky.net] {193.193.193.137} multi-homed Wed 2009-01-21 02:45:01: * P=010 S=002 D=carrier.kiev.ua TTL=(3) MX=[mx.lucky.net] {62.244.55.218} multi-homed Wed 2009-01-21 02:45:01: Attempting SMTP connection to [62.244.55.219:25] Wed 2009-01-21 02:45:01: Waiting for socket connection... Wed 2009-01-21 02:45:01: * Connection established (127.0.0.1:3013 - 62.244.55.219:25) Wed 2009-01-21 02:45:01: Waiting for protocol to start... Wed 2009-01-21 02:45:16: -- 220 c.mx.lucky.net ESMTP (incoming mail server) Tue, 20 Jan 2009 21:45:02 +0200 (EET) Wed 2009-01-21 02:45:16: -- HELO mail.mcitsh.com Wed 2009-01-21 02:45:17: -- 250 c.mx.lucky.net Hello mail.mcitsh.com [202.93.61.138], pleased to meet you Wed 2009-01-21 02:45:17: -- MAIL From:questi...@freebsd.org Wed 2009-01-21 02:45:18: -- 250 2.1.0 questi...@freebsd.org... Sender ok Wed 2009-01-21 02:45:18: -- RCPT To:vodg...@carrier.kiev.ua Wed 2009-01-21 02:45:18: -- 550 5.1.1 vodg...@carrier.kiev.ua... User unknown Wed 2009-01-21 02:45:18: -- QUIT --- End Transcript --- md5075626.eml Description: Binary data ___ 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: slices to dangerously dedicated
On Tue, Jan 20, 2009 at 02:47:24PM -0500, Robert Huff wrote: Suppose I have a disk which was - for various reasons - lebeled using slices. Is it possible to change it to dangerously dedicated without backup-wipe-relabel-restore cycle? Not really.And why would you want to? Just leave it. You will gain nothing by the change. jerry Robert Huff ___ 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 ___ 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: Edit user groups
On Tue, Jan 20, 2009 at 03:09:16PM -0500, Akenner wrote: Hi, I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. I made about 4 for myself to use and do various testing with, and made some for my Wife as well because She knows UNIX better than I do anyway heh. Anyway, one of the things I forgot about, was that FreeBSD by default doesn't allow just anyone to use su. I come from mainly using Linux, where you can log in and then whenever you need to open a root xterm or even a root shell, you just type the password and go. I looked up how to do this but most of my results came back with setting up user accounts, and other things. I did add another user that was in the wheel group so I could do it, but I'd really like to be able to add my main user account to the wheel group so I can su from this one instead of doing su otheruser and then su again to root. I found while searching for this something that MIGHT be what I'm looking for, but after reading it over, it seems I'd have to read through the whole man page first and then, it could be bad if I mistype something, or I could even screw up an account, which I can't risk. Is there an exact way to take a user account on my system, and add it to the wheel group? Just edit the /etc/group file and put that user in that group. That is the normal way of doing it. I would not suggest making wheel be the primary group for any other than root accounts. jerry ___ 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 ___ 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: Edit user groups
Akenner wrote: Hi, I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. I made about 4 for myself to use and do various testing with, and made some for my Wife as well because She knows UNIX better than I do anyway heh. Anyway, one of the things I forgot about, was that FreeBSD by default doesn't allow just anyone to use su. I come from mainly using Linux, where you can log in and then whenever you need to open a root xterm or even a root shell, you just type the password and go. I looked up how to do this but most of my results came back with setting up user accounts, and other things. I did add another user that was in the wheel group so I could do it, but I'd really like to be able to add my main user account to the wheel group so I can su from this one instead of doing su otheruser and then su again to root. I found while searching for this something that MIGHT be what I'm looking for, but after reading it over, it seems I'd have to read through the whole man page first and then, it could be bad if I mistype something, or I could even screw up an account, which I can't risk. Is there an exact way to take a user account on my system, and add it to the wheel group? Yes. # ee /etc/group ...and add your username to the list of users after the wheel group. For instance, by default, the entry will appear as such: wheel:*:0:root ...and if my username is steve, you will append the line like this: wheel:*:0:root,steve ...then hit ESC, then ENTER twice. Steve ___ 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
fdisk -B
I have a server that has five drives in it. Two drives ad4 and ad6 are arranged with gmirror as the operating system (7.1 Stable). The FreeBSD boot manager is installed for this mirror and I would like to remove it and use the standard FreeBSD MBR ...without messing anything up. Can I perform the fdisk -B /dev/ad4 followed by fdisk -B /dev/ad6 from a livefs disk? Maybe fdisk -B /dev/mirror/gm0? I have backups but everything is running very nice right now. I don't reboot very often but I _would_ like to get rid of the boot manager Thank you Robert ___ 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: Edit user groups
In response to Akenner slackwarew...@comcast.net: Hi, I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. I made about 4 for myself to use and do various testing with, and made some for my Wife as well because She knows UNIX better than I do anyway heh. Anyway, one of the things I forgot about, was that FreeBSD by default doesn't allow just anyone to use su. I come from mainly using Linux, where you can log in and then whenever you need to open a root xterm or even a root shell, you just type the password and go. I looked up how to do this but most of my results came back with setting up user accounts, and other things. I did add another user that was in the wheel group so I could do it, but I'd really like to be able to add my main user account to the wheel group so I can su from this one instead of doing su otheruser and then su again to root. I found while searching for this something that MIGHT be what I'm looking for, but after reading it over, it seems I'd have to read through the whole man page first and then, it could be bad if I mistype something, or I could even screw up an account, which I can't risk. Is there an exact way to take a user account on my system, and add it to the wheel group? man pw Specifically: pw usermod -n username -G wheel or pw groupmod -n wheel -m username -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ ___ 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
[Trouble Ticket #190137] AutoReply: freebsd-questions Digest, Vol 246, Issue 23
times now, the only way was to reinstall everything, and I was hoping to resolve this by completly finish upgrading the ports. And .. again the same problem. I'm really hoping to get some answers that will solve this problem, maybe someone had to deal with this issue before ?? I will not give up, because Freebsd stole my heart. The problem has nothing to do with ports. To restore your root/user logins: . boot into single user mode; . set a new root password; . set a new user password; . boot into multiuser mode; . login and have fun. WBR -- bsam ___ I've had the same thing happen to me not 2 weeks ago after upgrading a server from 7.0-RC2 to 7.1-RELEASE with freebsd-update. For me the problem had nothing to do with ports but with the update itself, because it replaced my pwd.db and spwd.db with the default ones (root with no password, no user accounts) and since ssh doesn't accept root logins I ended up going to the datacenter and copying the backups of those db's back. Then everything was fine again. Very strange they got replaced though.. Sounds like you've had something similar happen to you. Hopefully your machine isn't too far away. Bert-Jan -- Message: 3 Date: Tue, 20 Jan 2009 04:49:03 -0800 From: David Wolfskill da...@catwhisker.org Subject: Re: tar fails on FreeBSD 7 and passes on FreeBSD 6 for the sameinput To: chandra reddy cred...@gmail.com Cc: freebsd-hack...@freebsd.org, freebsd-questions@freebsd.org Message-ID: 20090120124903.gh17...@albert.catwhisker.org Content-Type: text/plain; charset=us-ascii On Tue, Jan 20, 2009 at 01:24:41PM +0530, chandra reddy wrote: Hi, I am getting the following error when i run tar on a directory. [chan...@home]$ tar zcf config-xsl.tar config-xsl/9.6 tar: Cannot open directory config-xsl/9.6/configuration/protocols/mpls/label-switched-path/oam/bfd-liveness-detection/detection-time: No such file or directory tar: Cannot open directory ... FreeBSD chandra 7.1-RC1 FreeBSD 7.1-RC1 #0: Sun Dec 7 05:57:33 UTC 2008 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 I have debugged libc and found that system call fstafs is failing and returning -1. I believe you will find that the system call is fstatfs. Can any one help me what is the real problem here and how to fix it? A subsequent message of your verified that the hierarchy being read was on an NFS-mounted file system. Perchance, was that NFS mount managwed by amd(8)? If so, while I do not have a fix for you, I am relieved to see someone else finally report these symptoms. Please see http://docs.FreeBSD.org/cgi/mid.cgi?20081203001538.GC96383 for an archived copy of my initial message in a thread reporting this. There is additional detail (including kernel trace information how-to-repeat instructions) in subsequent messages in the thread. Also mentioned is a circumvention -- basically, crippling amd(8) so it no longer attempts to unmount() a file system. However, I was unable to re-create the symptoms at home -- only at work. A colleague at work was able to re-create the symptoms, and was intending to experiment a bit more, but he's been busy with other things recently. Please contact me (off-list, if you prefer), and we can discuss additional details. Peace, david -- David H. Wolfskill da...@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/2d10270f/attachment-0001.pgp -- Message: 4 Date: Tue, 20 Jan 2009 12:32:31 +0100 From: Matias Surdi matiassu...@gmail.com Subject: Re: Large raid arrays To: Frederique Rijsdijk frederi...@isafeelin.org Cc: freebsd-questions@freebsd.org Message-ID: 4975b64f.20...@gmail.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed Frederique Rijsdijk escribi�: Matias Surdi wrote: Matias Surdi escribi�: Hi, I've a host with two large (2Tb and 4 Tb) hardware raid5 arrays. For the backup system we are using, I need to join them to make 1 logical device. What would you recomment? ccd or vinum? Some comments that may help in the decision: - Reliability/resistance to power failures are the most important factor. - It doesn't require high performance or high speed. Either gconcat or ZFS, depending which version of FreeBSD you're running. gconcat label -v data /dev/raid1 /dev/raid2 newfs /dev/concat/data mkdir /mnt/data mount /dev/concat/data /mnt/data df -h /mnt/data or zpool create data /dev/raid1 /dev/raid2 df -h /data -- Frederique ___ freebsd
Re: Edit user groups
Thanks everyone for the replies, much appreciated. ___ 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: slices to dangerously dedicated
using live CD/DVD make your new disklabel that mirrors existing but is in /dev/disk not /dev/diskslice, check it (try mount -r your partitions from /dev/disk[a-h]), clean MBR with fdisk, install bootrecord with bsdlabel -B /dev/disk then mount your / partition and fix etc/fstab it's not just about having few kB more space, but NOT having MS-partition table. for religious reason, for making thing simpler or less risky if you sometimes connect that drive to computer running windoze. ___ 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: fdisk -B
and use the standard FreeBSD MBR ...without messing anything up. Can I perform the fdisk -B /dev/ad4 followed by fdisk -B /dev/ad6 from a livefs disk? Maybe fdisk -B /dev/mirror/gm0? definitely /dev/mirror/gm0 not /dev/ad6 I have backups but everything is running very nice right now. I don't reboot very often but I _would_ like to get rid of the boot manager Thank you Robert ___ 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 ___ 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: slices to dangerously dedicated
On Tue, Jan 20, 2009 at 2:47 PM, Robert Huff roberth...@rcn.com wrote: Suppose I have a disk which was - for various reasons - lebeled using slices. Is it possible to change it to dangerously dedicated without backup-wipe-relabel-restore cycle? Robert Huff It is possible, but is probably a bad idea (it all depends on why you want to do this). I just ran a quick test in a virtual machine with a clean drive. The procedure was: # sysinstall (run the Fdisk tool to create a single s1 slice on /dev/da4) # bsdlabel -w /dev/da4s1 # newfs -U /dev/da4s1a # mount /dev/da4s1a /mnt # echo hello /mnt/world # umount /mnt # fdisk (to find the starting block of s1) # sysctl kern.geom.debugflags=0x10 (may not be needed) # dd if=/dev/da4 of=/dev/da4 bs=16k skip=1 (might also want to specify 'count=' to limit the amount of data copied) # reboot After the reboot, I could mount /dev/da4a and read the original contents, s1 was no more. The key to getting it right is proper input positioning; you cannot do something like `dd if=/dev/da4s1 of=/dev/da4`. In my case, s1 started at block 32, so I set my dd block size to 16k and skipped the first block, placing me exactly at the start of s1 (512 * 32 = 16384 or 16k). You really don't want to copy one sector at a time (bs=512), and in my case, 16k is the highest that I could go. If you are moving some other slice like s2, you can set bs to 1 or 2 megs and just do proper calculation for what skip should be set to (bs * skip should equal 512 * staring block as reported by fdisk). Realize, however, that this isn't exactly the same as creating a dangerously dedicated disk from the start. You're just moving the first (or whatever slice you need) to the start of the drive along with any data that follows. You will not reclaim any disk space this way, though you may be able to use bsdlabel and growfs later to expand your partitions. Good luck! - Max P.S. Once again would like to emphasize that I would never do this on any real data because of the risks involved, but it was a fun exercise to try :) ___ 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: switching bsdlabel's label
yes On Tue, 20 Jan 2009, Eduardo Meyer wrote: Hello, I have a certain disk where da0s1a and da0s1d are inverted. By some reason someone labelled root as 'd' and home as 'a'. Can I just bsdlabel -n da0s1 savedabel.txt Edit savedlabel.txt, switch and restore? (bsdlabel -R da0s1 savedlabel) -- === Eduardo Meyer pessoal: dudu.me...@gmail.com profissional: ddm.farmac...@saude.gov.br ___ 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 ___ 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: Edit user groups
On Tue, Jan 20, 2009 at 03:09:16PM -0500, Akenner wrote: Hi, I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. I made about 4 for myself to use and do various testing with, and made some for my Wife as well because She knows UNIX better than I do anyway heh. Anyway, one of the things I forgot about, was that FreeBSD by default doesn't allow just anyone to use su. Good advice given so far (pw is a good tool, direct editing works) but I'd also suggest you consider installing and using sudo; I always install it on all of my systems and use it probably 10-20 times as often as su. -- Clifton -- Clifton Royston -- clift...@iandicomputing.com / clift...@lava.net President - I and I Computing * http://www.iandicomputing.com/ Custom programming, network design, systems and network consulting services ___ 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
Newbie: offline package use / XFCE.
Greetings from newbie land. I have what I hope is a simple question about using packages offline, with particular reference to XFCE if that matters. I am not so much asking how do I do this? as I am Do I understand this correctly? I have read the appropriate sections of the Handbook, Lehey's _Complete FreeBSD_ (both paragraphs :) ), and Lucas' _Absolute FreeBSD (2nd ed.). I have googled and done some searching of this list's archives, and couldn't tease the answer out of them. As you will see, it would be a LOT of work to just try it, so I don't feel too bad about asking before diving in. I would like to install XFCE on a FreeBSD 7.1 box that is and will remain (for now) offline. No network connection at all. If I have read correctly, this means downloading the appropriate package(s) and using pkg_add. So far, so good (I haven't done it, but it seems clear enough). The package for XFCE4, as listed here http://www.freebsd.org/ports/xfce.html is a meta-port (I believe I understand the idea), which seems to have about one hundred (100) dependencies. Of course, some of those will have dependencies of their own, and so on. My question is this: In order to download/ftp the package for XFCE4, I would have to obtain all hundred (or so) of the listed files _and_ any dependencies they may have so as to point pkg_add at them locally. Is this correct? If not correct, what have I missed (a pointer to what I've missed should be sufficient). I've also looked at it from the XFCE side, where there is a nice, detailed doc by Benedikt Meurer, here http://www.os-works.com/documentation/xfce-installers/4.2.1/xfce-installer/ This strongly implies that I can bypass the pkg_add procedure entirely. Might be worth trying, but I'd still like to know if I've understood what the package listing above is saying. Editorial comment and/or general advice on XFCE is not unwelcome. It's just secondary to the question. Thanks in advance, and regards, Tom Holloway. PS: I almost forgot the traditional PLEASE HELP!!! ;) But this is not for work and I am not on any deadline whatever. ___ 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: Newbie: offline package use / XFCE.
Thomas W. Holloway wrote: Greetings from newbie land. I have what I hope is a simple question about using packages offline, with particular reference to XFCE if that matters. I am not so much asking how do I do this? as I am Do I understand this correctly? I have read the appropriate sections of the Handbook, Lehey's _Complete FreeBSD_ (both paragraphs :) ), and Lucas' _Absolute FreeBSD (2nd ed.). I have googled and done some searching of this list's archives, and couldn't tease the answer out of them. As you will see, it would be a LOT of work to just try it, so I don't feel too bad about asking before diving in. I would like to install XFCE on a FreeBSD 7.1 box that is and will remain (for now) offline. No network connection at all. If I have read correctly, this means downloading the appropriate package(s) and using pkg_add. So far, so good (I haven't done it, but it seems clear enough). The package for XFCE4, as listed here http://www.freebsd.org/ports/xfce.html is a meta-port (I believe I understand the idea), which seems to have about one hundred (100) dependencies. Of course, some of those will have dependencies of their own, and so on. My question is this: In order to download/ftp the package for XFCE4, I would have to obtain all hundred (or so) of the listed files _and_ any dependencies they may have so as to point pkg_add at them locally. Is this correct? In short, yes. And this will be quite difficult to get right. *Unless* the machine you actually use to get the packages is also running FreeBSD. You could then pkg_add -r xfce4 on it and then recreate all the required packages and transfer them to the target machine. To recreate the packages: # cd /usr/ports # mkdir packages # cd packages # pkg_create -Rb xfce-x.y.z (hint: use pkg_info -Ix xfce to get the exact name of the xfce metaport to use with pkg_create) The same applies also if you decide to build xfce from Ports. You could still create packages in the same way. Simply copy the packages to a CD or USB drive, and pkg_add on the target machine (note you will not use '-r' on it as all the packages are local) If not correct, what have I missed (a pointer to what I've missed should be sufficient). I've also looked at it from the XFCE side, where there is a nice, detailed doc by Benedikt Meurer, here http://www.os-works.com/documentation/xfce-installers/4.2.1/xfce-installer/ This document refers to an older version of XFCE and may not be applicable to the current one. I've never used this, I definitely prefer to build my own packages from the official port. This strongly implies that I can bypass the pkg_add procedure entirely. Might be worth trying, but I'd still like to know if I've understood what the package listing above is saying. Editorial comment and/or general advice on XFCE is not unwelcome. It's just secondary to the question. XFCE is nice, I've been using it on almost all my FreeBSD desktops. It is a no frills desktop. The default look is somewhat blunt, but it is easy to customize to taste. I also usually install ristretto (picture viewer) thunar-volman-plugin (for mounting USB drives etc) and a few other xfce utilities. It compiles rather quickly on my humble Pentium IV. As a side note, I have a machine specifically for building packages and it just happens that I finished a complete build run today (for FreeBSD 7.1 32bit). This includes XFCE, Xorg, Gnome + power tools + fifth toe, KDE4 (4.1 actually) and few other things. More than 1.5G of packages. I could possibly upload just the XFCE + dependencies packages somewhere so you can download them and use them. Contact me directly if you wish to go down that route. ___ 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
Motherboard support
Hello, I have built a machine with a Gigabyte GA-MA74GM-S2, running Freebsd 7.1. For the most part it is fine but I do have two problems 1) The NIC a realtek 8111C keeps giving watchdog timeout messages and the link state changes from up to down and back to up again. 2) The two hard disks that are attached to the sata raid controller are not seen by Freebsd, the raid card is set to native ide as I want to use ZFS rather than the onboard raid system and all the drives are present at post. I understand this motherboard uses a AMD740 chipset and has 740 northbridge and a SB700 southbridge. Any ideas tips pointers would be most welcome 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: fdisk -B
On Tue, 20 Jan 2009 22:48:52 +0100 (CET) Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: and use the standard FreeBSD MBR ...without messing anything up. Can I perform the fdisk -B /dev/ad4 followed by fdisk -B /dev/ad6 from a livefs disk? Maybe fdisk -B /dev/mirror/gm0? definitely /dev/mirror/gm0 not /dev/ad6 I was figuring that I would have to boot to single user and do this but I wanted some assurance. Thanks Wojciech for providing the confidence. All is well in the world again. Robert ___ 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
Way to prune/limit the ZFS zpool history?
Hello. I've been experimenting with a series scripts that takes ZFS snapshots every minute, eventually destroying the oldest so that only so many remain available for a given window of time. This may seem a trivial concern with hard drive sizes being what they are these days, but after running a zpool history I started thinking that a ZFS create and destroy being performed every minute would add up to a lot over the course of a few years (current estimate is 62MB/year for the naming scheme of my snapshots). From what I understand, ZFS compresses metadata by default, so this history probbaly won't take up much space in the grand scheme of things. However, I was curious just the same about wether or not there was a way to prune down, or limit the size of, the zpool history. Also, is there any substantial performance penalty to having a huge history? Thanks for any pointers. -- Geoff ___ 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: Newbie: offline package use / XFCE.
On Wed, 21 Jan 2009 01:16:45 +0200, Manolis Kiagias sonic200...@gmail.com wrote: In short, yes. And this will be quite difficult to get right. *Unless* the machine you actually use to get the packages is also running FreeBSD. You could then pkg_add -r xfce4 on it and then recreate all the required packages and transfer them to the target machine. To recreate the packages: [...] The same applies also if you decide to build xfce from Ports. You could still create packages in the same way. Simply copy the packages to a CD or USB drive, and pkg_add on the target machine (note you will not use '-r' on it as all the packages are local) Just as a friendly sidenote: I need to put emphasize on the fact that you will need to install XFCE 4 on the machine with Internet access in order to follow this procedure. If you don't mind doing this or of you intend to run XFCE on that machine anyway, stop reading now. :-) If you intentionally DON'T want to install XFCE 4 on the machine you want to use to get the packages, how about trying this dirty script? ### #!/bin/sh # # pkg_download.sh 2008-08-19 # === # # fetch a precompiled package as well as its dependencies # for further installation if [ $1 = ]; then echo $0 package exit 1 fi echo -n fetching $1 ... if [ -f $1.tbz ]; then echo $1.tbz already there exit 1 fi pkg_add -fKnrv $1 $1.txt 21 echo done for DEP in `cat $1.txt | grep $1 | grep depends on | cut -d ' -f 6 | cut -d / -f 2`; do echo dependency for $1 is ${DEP} $0 ${DEP} done rm $1.txt exit 0 ### Put this content into a file pkg_download.sh, chmod it +x and then run % ./pkg_download.sh xfce4 And yes, it's a very dirty solution, needlessly complicated, untidy and unfriendly to use, but it will work and bypass the need to install XFCE 4 on the machine to fetch. The script does not compile anything, it relies on the pkg_add -r mechanism and the presence of the proper packages on the default server. But please note that it will download any dependency needed recursively, which may lead you to a huge pile of tbz files. Just think about what Gtk 2 will need... I wrote this script in order to achieve the same goal as it has been requested initially. -- Polytropon From 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: Newbie: offline package use / XFCE.
Thomas W. Holloway schrieb: I would like to install XFCE on a FreeBSD 7.1 box that is and will remain (for now) offline. No network connection at all. If I have read correctly, this means downloading the appropriate package(s) and using pkg_add. So far, so good (I haven't done it, but it seems clear enough). The simpliest way would be to install from one of the three Release-CD's or from the Release-DVD (via /usr/sbin/sysinstall). But I have no idea if XFCE4 is contained in them. Perhaps someone could look this up for you? Greetings, Uli. The package for XFCE4, as listed here http://www.freebsd.org/ports/xfce.html is a meta-port (I believe I understand the idea), which seems to have about one hundred (100) dependencies. Of course, some of those will have dependencies of their own, and so on. My question is this: In order to download/ftp the package for XFCE4, I would have to obtain all hundred (or so) of the listed files _and_ any dependencies they may have so as to point pkg_add at them locally. Is this correct? If not correct, what have I missed (a pointer to what I've missed should be sufficient). I've also looked at it from the XFCE side, where there is a nice, detailed doc by Benedikt Meurer, here http://www.os-works.com/documentation/xfce-installers/4.2.1/xfce-installer/ This strongly implies that I can bypass the pkg_add procedure entirely. Might be worth trying, but I'd still like to know if I've understood what the package listing above is saying. Editorial comment and/or general advice on XFCE is not unwelcome. It's just secondary to the question. Thanks in advance, and regards, Tom Holloway. PS: I almost forgot the traditional PLEASE HELP!!! ;) But this is not for work and I am not on any deadline whatever. ___ 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 ___ 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: Way to prune/limit the ZFS zpool history?
In the last episode (Jan 20), Geoff Fritz said: I've been experimenting with a series scripts that takes ZFS snapshots every minute, eventually destroying the oldest so that only so many remain available for a given window of time. This may seem a trivial concern with hard drive sizes being what they are these days, but after running a zpool history I started thinking that a ZFS create and destroy being performed every minute would add up to a lot over the course of a few years (current estimate is 62MB/year for the naming scheme of my snapshots). According to http://docs.sun.com/app/docs/doc/819-5461/gdswe?l=ena=view , the zpool history file is between 128K and 32MB, depending on the size of the pool. The FreeBSD import at /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c agrees with the docs :) -- Dan Nelson dnel...@allantgroup.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: Edit user groups
Clifton Royston wrote: On Tue, Jan 20, 2009 at 03:09:16PM -0500, Akenner wrote: Hi, I'm using FreeBSD 7.1-RELEASE and I have multiple user accounts set up. I made about 4 for myself to use and do various testing with, and made some for my Wife as well because She knows UNIX better than I do anyway heh. Anyway, one of the things I forgot about, was that FreeBSD by default doesn't allow just anyone to use su. Good advice given so far (pw is a good tool, direct editing works) but I'd also suggest you consider installing and using sudo; I always install it on all of my systems and use it probably 10-20 times as often as su. -- Clifton and I recommend against sudo because it's very design is a man-in-the-middle type of scenario, and one typo by the sudo devs can possibly make a mess out of things. I think sudo makes a lazy admin -- too easy to just run in and hit something. I think sudo is a false sense of security. If a user trusts another, and give sudo access, why not give the whole OS to them? Sudo's out there -- don't get me wrong, but you won't catch me dead with a box with sudo installed. I think it's a very misleading tool. And not to say they do -- but what if the devs put in a keygen...do you monitor the sudo source code? And if I remember correctly -- the way sudo gets it's work done is a SUID bit to root. Those are the devil's eggs that hatch and just cause havoc. A rogue CGI calling sudo to do something on the website, buffer overflow (with php!) and you've gotten rooted. No, no -- I hate sudo for it's own doing. It's going to eat itself alive. /rant No flames please. ___ 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: unable to logon after updating ports collection - Freebsd 7.1 stable
Bert-Jan wrote: Roy Stuivenberg roys1...@gmail.com writes: After I completed my Freebsd 7.1 stable, and updated all the ports, I got prompted with another logonscreen. Whatever I try, I can't login with my useraccount and even not logon as root. This happened severall times now, the only way was to reinstall everything, and I was hoping to resolve this by completly finish upgrading the ports. And .. again the same problem. I'm really hoping to get some answers that will solve this problem, maybe someone had to deal with this issue before ?? I will not give up, because Freebsd stole my heart. The problem has nothing to do with ports. To restore your root/user logins: . boot into single user mode; . set a new root password; . set a new user password; . boot into multiuser mode; . login and have fun. WBR -- bsam ___ I've had the same thing happen to me not 2 weeks ago after upgrading a server from 7.0-RC2 to 7.1-RELEASE with freebsd-update. For me the problem had nothing to do with ports but with the update itself, because it replaced my pwd.db and spwd.db with the default ones (root with no password, no user accounts) and since ssh doesn't accept root logins I ended up going to the datacenter and copying the backups of those db's back. Then everything was fine again. Very strange they got replaced though.. Sounds like you've had something similar happen to you. Hopefully your machine isn't too far away. Bert-Jan ___ 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 Might I add the tempting and tendancy to change root's shell to a non-base shell. While you're in single user, use a base shell if you're using non-base (ahem! bash users) --Tim ___ 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: Way to prune/limit the ZFS zpool history?
On Tue, Jan 20, 2009 at 10:17:47PM -0600, Dan Nelson wrote: In the last episode (Jan 20), Geoff Fritz said: I've been experimenting with a series scripts that takes ZFS snapshots every minute, eventually destroying the oldest so that only so many remain available for a given window of time. This may seem a trivial concern with hard drive sizes being what they are these days, but after running a zpool history I started thinking that a ZFS create and destroy being performed every minute would add up to a lot over the course of a few years (current estimate is 62MB/year for the naming scheme of my snapshots). According to http://docs.sun.com/app/docs/doc/819-5461/gdswe?l=ena=view , the zpool history file is between 128K and 32MB, depending on the size of the pool. The FreeBSD import at /sys/cddl/contrib/opensolaris/uts/common/fs/zfs/spa_history.c agrees with the docs :) I always forget that ZFS is documented on Sun's site as well as the man pages. Hopefully some day the FreeBSD docs will catch up w/ Sun's. Thanks a bunch for the pointer. Very informative. -- Geoff ___ 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
Problem with libperl
im trying to start a few programs, on eof them being ntop, but it keeps saying the below msg .. how do i register it when i have libperl .. what has happend for it to be unregisterd ? enterprise# ntop /libexec/ld-elf.so.1: Shared object libperl.so not found, required by ntop ___ 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
how do you boot freebsd-ia64 from disk?
I got no answer on the ia64 list after several weeks, so I'm asking here. I seem to have successfully installed freebsd on my itanium hp-i2000 machine, but I don't know how to cause it to boot from disk. In the boot options menu I tried adding loader.efi to the boot menu, but when I select it it says the file does not exist. Do you know what I need to do? Or is it maybe not implemented? Kendall ___ 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
8 current mount of glabel root failed
i have an 8 current machine that i labeled the slices and partitions with glabel, it boots with generic but not with custom. i didn't touch anything in generic other than removing network devices and scsi/raid. this is an ide only system. any ideas? 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
source of uname information
Am I correct in believing uname gets its information from the kern.version sysctl? Robert Huff ___ 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: kvm switch
On Mon, Jan 19, 2009 at 08:16:28PM -0800, Kendall Shaw wrote: Do you have a kvm switch that does mouse and keyboard emulation and know that it works with freebsd? I have an iogear kvm switch from around the last time I asked this question here years back, that has usually worked with linux, netbsd, openbsd, macos and windows. Back then to work with freebsd, each time I switched away and back I would login remotely and issue a command to get freebsd to recognize the keyboard again. The newer version of my kvm switch says it has mouse and keyboard emulation, but I can't get a straight answer out of them if that means the OS can tell that they keyboard has disconnected or not. Do you know? Or do you know of a KVM switch, that does that and is suitable for an impoverished person's home computing needs? Also, I read someone's comment on newegg that the mouse emulation only emulates 2 buttons. Do you know if that is true? I have an IOGEAR GCS632U -- a two-port USB KVM switch. It works great for me, but be forewarned that using a wireless mouse-and-keyboard set that both uses the same USB dongle as the receiver for both IO devices it probably won't work very well. Even though I have a mouse and keyboard that are part of a matched set using the same dongle, I have to use a different mouse with that keyboard so I can plug the mouse into the mouse port on the KVM switch and the keyboard's wireless dongle into the keyboard port on the KVM switch. Otherwise, it works great -- I just hit scroll lock twice, and it switches between a FreeBSD desktop tower and an MS Windows desktop tower. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Antony Jay: In corporate religions as in others, the heretic must be cast out not because of the probability that he is wrong but because of the possibility that he is right. pgpanC4TBRKMQ.pgp Description: PGP signature
Re: Problem with libperl
Warren Liddell wrote: im trying to start a few programs, on eof them being ntop, but it keeps saying the below msg .. how do i register it when i have libperl .. what has happend for it to be unregisterd ? enterprise# ntop /libexec/ld-elf.so.1: Shared object libperl.so not found, required by ntop It was perhaps the recent upgrade from perl-5.8.8 to perl-5.8.9, which means that libperl.so will have moved from /usr/local/lib/perl5/5.8.8/mach/CORE/libperl.so ^ to /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so ^ To fix the problem -- * run 'perl-after-upgrade -f' -- will fix most pure perl scripts / modules * Compiled software that embeds a perl interpreter (ie. that links against libperl.so) will be highlighted by the perl-after-upgrade script. * If the indicated binaries fail to run, showing linker errors as you've seen, then those packages need to be recompiled to embed the new shlib path into the binaries. So the following should sort you out: portupgrade -f net/ntop Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: / mounted read-only after error in /etc/rc.conf
Try using: umount -o rw / Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Pieter Donche pieter.don...@ua.ac.be Sent by: owner-freebsd-questi...@freebsd.org 19.01.2009 16:47 Please respond to Pieter Donche pieter.don...@ua.ac.be To mail.list freebsd-questions freebsd-questions@freebsd.org cc Subject / mounted read-only after error in /etc/rc.conf I made a typing error when chanign /etc/rc.conf (linux_enable=YES) when rebooting the system, the boot stops /etc/rc.conf: 22: Syntax error: Unterminated quote string Enter full pathname of shell or RETURN for /bin/sh: # this leaves me with /dev/ds0s1a on / (ufs, local, read-only) since / is read-only I can not edit /etc/rc.conf to correct the error. How to solve 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 ___ 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