Re: Delaying mount of UFS filesystem in ZFS pool
I didn't think of mountlate, that may work. What I ended up doing was adding the "noauto" option and running a cronjob that checks and mounts the filesystem. Unfortunately, I learned that quotas only apply to mount points and not directories, so I may not be of any use for testing new things in the near future. Pawel Jakub Dawidek wrote: On Fri, May 23, 2008 at 02:04:56PM -0700, Aaron Holmes wrote: I have a UFS filesystem inside a zpool: tank on /tank (zfs, local) /dev/zvol/tank/ufs on /mnt/ufs (ufs, local, acls) If I add that entry (/dev/zvol/tank/ufs) to /etc/fstab, it will try to mount as a critical filesystem on boot, however, because ZFS hasn't yet loaded, this fails and causes all sorts of fun for me. Currently I have that filesystem mounting via a cronjob that checks every minute if it's mounted.. definitely not ideal. I need this filesystem in /etc/fstab so I can setup quotas on it (if there is some other way to get quotas working, great, point me to a link or two). So what I'm thinking for a solution is to delay the mount of this filesystem until ZFS has loaded, but I'm not sure of a way to do this with the filesystem in /etc/fstab, and without extensive hacking to one or more rc scripts. Ideas? Adding 'late' flag in "Options" section to the fstab entry may help, although I don't think it will help with quotas: # rcorder /etc/rc.d/* [...] /etc/rc.d/mountcritlocal [...] /etc/rc.d/zfs [...] /etc/rc.d/mountcritremote [...] /etc/rc.d/quota [...] /etc/rc.d/mountlate [...] We might consider running rc.d/quota after rc.d/mountlate, not sure if it won't break something else. I added freebsd-rc@ to CC. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Setting quotas on nested directories
Hello all, I want to set quotas on nested directories; ie: /mnt/docs has the directories "legal" and "IT" I want to limit "legal" to 50GB. How can this be done, if at all? From my googleing, it looks like any filesystems you want to apply quotas need to be be 1) in /etc/fstab and 2) mounted Thanks, Aaron Holmes ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Delaying mount of UFS filesystem in ZFS pool
I have a UFS filesystem inside a zpool: tank on /tank (zfs, local) /dev/zvol/tank/ufs on /mnt/ufs (ufs, local, acls) If I add that entry (/dev/zvol/tank/ufs) to /etc/fstab, it will try to mount as a critical filesystem on boot, however, because ZFS hasn't yet loaded, this fails and causes all sorts of fun for me. Currently I have that filesystem mounting via a cronjob that checks every minute if it's mounted.. definitely not ideal. I need this filesystem in /etc/fstab so I can setup quotas on it (if there is some other way to get quotas working, great, point me to a link or two). So what I'm thinking for a solution is to delay the mount of this filesystem until ZFS has loaded, but I'm not sure of a way to do this with the filesystem in /etc/fstab, and without extensive hacking to one or more rc scripts. Ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Samba, AD, nsswitch, freebsd & idmap
I'm not sure where this issue should go, or if it's even a bug. If it's not, please help! https://bugzilla.samba.org/show_bug.cgi?id=5468 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
SRCSAS144e raid controller
Is the Intel SRCSAS144e RAID controller supported by FreeBSD? Or are there any "hacks" to get it working? A quick google didn't reveal very much. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: SYMLINK
Jean-Paul Natola wrote: Please excuse my ignorance but I believe my symlink is not working, how can I verify a symlink? And Yes I am a newbie in the BSD / open source world. Jean-Paul Natola Network Administrator Information Technology Family Care International 588 Broadway Suite 503 New York, NY 10012 Phone:212-941-5300 xt 36 Fax: 212-941-5563 Mailto: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" If you do an ls -l you should see something like lrwxr--r-- 1 uid gid mar 3 2006 link -> /home/user/destination ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems booting operating system and with root password
Miguel wrote: Andy Greenwood wrote: I don't know what you mean by kernel errors on boot, but you can recover your root password by booting into single user mode and then running passwd. Hi, i have a similar problem, i forgot my root password and the server its in a remote colocation site, is there a way to recover the encrypted password and crackit some way, i have my normal account (which is in wheel group), i even know that the root's pass begings with MAG_"something", but i really cant remember the complete root's pass, rebooting in single user mode is my best bet? --- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" There aren't any vulnerabilities (if i recall) for the passwd hashes. your best bet is single user mode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: PHP viewing in local brwoser.
Kevin Kinsey wrote: Marwan Sultan wrote: Hello Gurus, I'm On FreeBSD 6.1R, apache-2.2, php5, installed plus KDE3 latest and mozilla. AddHandler cgi-script .cgi .pl .php line is enabled in httpd.conf basically, i'm learning php so im very new to it. I used Quanta/KDevelop to create my php file. But from the local machine when i try to browse locally (using any KDE browser) php file, return blank in the browser, and nothing shows!. the .pl extention is added to apache in the addhandler, so it should excute, PHP = "People Hate PERL" ... are you sure you don't want ".php" there? Any help please? If I create any .php using any editor, how do i see the result of the file locally ? whats wrong? Thank you Marwan You can use the command line "php script.php" and it will execute it for you. You can also open a browser and point it at your local webserver, ie: "lynx localhost/dir/script.php" Other than that, I do not believe there is a way to view the results of your script, and it has to be passed through the php engine. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: cant' find port
Matias wrote: Hi, I've been googling about this but I can't find the answer: Is there a port to install Yakuake (the quake-styled terminal for kde)? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" It doesn't look like it. Why don't you become the port maintainer for it? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sorry for the old emails to this list
I just fixed my mail server, and it looks like it was waiting to push those forward :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems booting operating system and with root password
Polina Mnouskina wrote: Hello. I am working for the company, that is using FreeBSD on the server mashins. At the moment we have two problems: First, one of the mashins give no kernael error on the boot. Second, we have lost our root password to the second one. Is there a way to fix any of this two problems without reinstaling the system. Please, answer asap. Any help (free or paid) will be highly appriciated. - New Yahoo! Messenger with Voice. Call regular phones from your PC and save big. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Well first you need to spell correctly, and secondly, you need to give us more information. For your first error, I have no idea what your problem is or how to fix it. For you lost root password, boot into single user mode (how to depends on your version of FreeBSD) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: System doesn't recognize boot device
Aaron VanAlstine wrote: I¹m a newbie who assembled a PC. I successfully loaded FreeBSD 6.0 from CD but at the end of install when the system reboots, it goes thru the start-up process (the ASUS screen) and finally I get a message saying to use the proper boot device or insert boot media and try again. I rechecked the BIOS and sure enough, the striped HD is the first boot device. Any ideas? Thank you. My system consists of: ASUS P5LD2 motherboard Pentium D 820 2.8 GHz dual-core 2 x 512 Corsair 667 DDR2 RAM 2 x 80G Western Digital SATA HD configured in RAID 0 NEC ND-3550A DVD+/-RW Antec case Targus keyboard Belkin 3-button optical mouse -- Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Are you sure you got the partition and slice tables setup properly? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sharing /usr/local/www
Kyrre Nygard wrote: At 10:45 27.05.2006, Beech Rintoul wrote: On Saturday 27 May 2006 00:32, Kyrre Nygard wrote: > Hello! > > I have a team of designers working on web 2.0 like sites. > > I have added them all to this box, now I'm wondering what's the most > convenient way of giving them all access to /usr/local/www? > > My temporary solution has been to add all users with UID and GID 80, > and then ln -s /usr/local/www ~/collabo for each user. > > If users have their original UID instead of www's then somehow they can't > read or write to /usr/local/www. I thought sharing the same GID was > sufficient, but obviously it isn't. I find this very strange. > > Some of them prefer just using FTP, so then being able to click on collabo@ > and go straight to /usr/local/www is very convenient for them. > > But is there a better way? > > Thanks, > Kyrre CVS is your friend. But there are also a ton of php scripts out there to do what you want. Beech -- Yeah I hear a lot of people like CVS. But I fail to realize how it might assist me though. I'm not setting up a code repository, this is an actual WWW root where a lot of different websites are hosted. Please correct me if I'm wrong. And what PHP scripts are you talking about? Thanks a lot, Kyrre ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I think the easiest way would be to add them all to a similar group (www, perhaps) and chown -R user:group /usr/local/www; chmod -R g+rw /usr/local/www This will give whatever group you specify read, and write access to the directory. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problems booting operating system and with root password
Miguel wrote: Atom Powers wrote: On 5/26/06, Miguel <[EMAIL PROTECTED]> wrote: Hi, i have a similar problem, i forgot my root password and the server its in a remote colocation site, is there a way to recover the encrypted password and crackit some way, i have my normal account (which is in wheel group), i even know that the root's pass begings with MAG_"something", but i really cant remember the complete root's pass, rebooting in single user mode is my best bet? If you are in wheel, then you should be able to "sudo su" to switch to the root account and then "passwd root" to reset the password. :-( No luck, this is the error > sudo su We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things: #1) Respect the privacy of others. #2) Think before you type. #3) With great power comes great responsibility. Password: mmiranda is not in the sudoers file. This incident will be reported. > sudo su mmiranda is not in the sudoers file. This incident will be reported. > passwd root passwd: permission denied > I entered my account's password... Anything more? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" try using a login who is in the sudoers file ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Constant segmentation faults with freebsd 6.1-release and -stable
Am i the only one who gets this with most port installations? I'm trying to narrow it down to a hardware fault or a 6x fault. I get signal 4's and segmentation faults on nearly every compilation any ideas? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portmanager Output Resolution
Jim Angstadt wrote: --- Aaron Holmes <[EMAIL PROTECTED]> wrote: Jim Angstadt wrote: Hi All, Having run "portmanager -u" several times now, I am very pleased to say that my times have decreased from an initial 38 hours to about 2 hours, per run. Along the way, I have cleaned up "conflicts" and did "pkg_delete" on several applications that were "included in base" or that really were not needed. Now I'm faced with situations where I don't have a clue. Below is partial output from "portmanager -s". I have manipulated each line to avoid line wrapping problems, I hope. 00129 have:cdrtools-2.01_4 /sysutils/cdrtools OLD available: cdrtools-2.01_5 00131 have:libcdio-0.76_1 /sysutils/libcdio OLD available: libcdio-0.77 00141 have:dvd+rw-tools-6.1 /sysutils/dvd+rw-tools built with OLD dependency: cdrtools-2.01_5 00186 have:nautilus-cd-burner-2.14.1 /sysutils/nautilus-cd-burner built with OLD dependency: cdrtools-2.01_5 00250 have:sound-juicer-2.14.3 /audio/sound-juicer OLD available: sound-juicer-2.14.3_1 00255 have:gnome2-2.14.1 /x11/gnome2 built with OLD dependency: sound-juicer-2.14.3_1 In the case of cdrtools or libcdio or sound-juicer, I think this is telling me that I have an older version installed and a newer version is available. What should I do in this situation? In the case of dvd+rw-tools or nautilus-cd-burner or gnome2, apparently I have a solid-gold chance to mess up dependencies. What should I do here? Please note that I am new to FreeBSD and have a very limited exposure to using "make" to build packages. Any links to dealing with portmanager output would be appreciated. Jim [...] Is it absolutely necessary for you to update these dependencies? If it is, you can try portupgrade but that my very well break everything :p So far, the few apps that I have used appear to work as expected, but I have not tested many that I hope to use. I was under the impression that it is desirable and reasonable to resolve portmanager output. Is this a mistaken idea? Thanks, Jim __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I guess it would depend on who you ask. I, personally tend to live by "If it ain't broke, don't fix it" at least if it's a production box. I don't use any sort of GUI of my FreeBSD systems, so I will leave this to someone else to answer. sorry. Aaron ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Portmanager Output Resolution
Jim Angstadt wrote: Hi All, Having run "portmanager -u" several times now, I am very pleased to say that my times have decreased from an initial 38 hours to about 2 hours, per run. Along the way, I have cleaned up "conflicts" and did "pkg_delete" on several applications that were "included in base" or that really were not needed. Now I'm faced with situations where I don't have a clue. Below is partial output from "portmanager -s". I have manipulated each line to avoid line wrapping problems, I hope. 00129 have:cdrtools-2.01_4 /sysutils/cdrtools OLD available: cdrtools-2.01_5 00131 have:libcdio-0.76_1 /sysutils/libcdio OLD available: libcdio-0.77 00141 have:dvd+rw-tools-6.1 /sysutils/dvd+rw-tools built with OLD dependency: cdrtools-2.01_5 00186 have:nautilus-cd-burner-2.14.1 /sysutils/nautilus-cd-burner built with OLD dependency: cdrtools-2.01_5 00250 have:sound-juicer-2.14.3 /audio/sound-juicer OLD available: sound-juicer-2.14.3_1 00255 have:gnome2-2.14.1 /x11/gnome2 built with OLD dependency: sound-juicer-2.14.3_1 In the case of cdrtools or libcdio or sound-juicer, I think this is telling me that I have an older version installed and a newer version is available. What should I do in this situation? In the case of dvd+rw-tools or nautilus-cd-burner or gnome2, apparently I have a solid-gold chance to mess up dependencies. What should I do here? Please note that I am new to FreeBSD and have a very limited exposure to using "make" to build packages. Any links to dealing with portmanager output would be appreciated. Jim __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Is it absolutely necessary for you to update these dependencies? If it is, you can try portupgrade but that my very well break everything :p ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"