Re: Can't find kernel, finds slices but no files on them
On 19/09/2012 23:59, Polytropon wrote: The terminology is simple and as follows: A disk is a disk, e. g. /dev/ad0. A slice is a DOS primary partition on the disk, e. g. /dev/ad0s1. A partition is a subdivision of a slice, e. g. /dev/ad0s1a. Partitions can be used without a slice that encloses them, e. g. /dev/ad0a; this is called dedicated mode (because some obscure operating systems may have problems accessing something they cannot even understand). Tools like dump and restore operate on partitions. Tools like dd operate on everything. What Polytropon says is perfectly correct, and accurate for setups using MBR, fdisk(8) and bsdlabel(8). However nowadays, the move is towards using gpart(8) and the terminology is different there. It looks like this: % gpart show -p da0 = 34 134217661da0 GPT (64G) 34128 da0p1 freebsd-boot (64k) 1624194304 da0p2 freebsd-swap (2.0G) 4194466 130023229 da0p3 freebsd-zfs (62G) 'da0' is the disk -- this is from a VM emulating a SAS controller, hence 'da' as the disk device. That's not gpart specific, and you'll also commonly see 'ad' or 'ada' for disk devices, plus some others specific to certain hardware RAID controllers. The disk has three partitions: da0p1, p2 and p3 of the indicated types. There's also a freebsd-ufs type for those that don't want ZFS. That's really all there is to it for all practical purposes. There's no need for 'partitions inside slices' or 'logical partitions' or any of that malarkey. I believe you could create partitions inside partitions recursively to your heart's content but never cared enough to try that out -- I think the device names would come out like 'da0p3p1' but I could be wrong. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey signature.asc Description: OpenPGP digital signature
Re: fsck not working on messed-up file system
* PLEASE RERUN FSCK * Script done on Wed Sep 19 04:17:27 2012 Would this indicate a software bug, or is my Western Digital Caviar Green 3 TB hard drive failing? Either something was referencing sectors off the end of the disc, or the drive is failing. I'd be inclined to copy the data off somewhere safe and subject the disc to extensive tests with smartctl from smartmontools, then if it passes recreate the fileystem(s) and restore the data. Steve O'Hara-Smith at...@sohara.org I went looking to see if there was something more powerful than fsck in the ports tree, category sysutils, but didn't find anything. I wonder why NetBSD fsck was able to revive the partition when FreeBSD fsck got stuck in a loop, though I easily got out of said loop by not re-rerunning fsck. Maybe NetBSD fsck was better than FreeBSD fsck for repairing NetBSD mischief? It might be good to build, from ports, not only smartmontools but also subversion, on my backup 8 GB FreeBSD USB stick. I might also want to rerun cvs up -dP on the NetBSD pkgsrc and system-source directories before using again, hoping to retrieve anything that might have been lost. Script started on Wed Sep 19 04:15:02 2012 fsck_ffs /dev/ada0p9 just to make sure: the partition was not mounted when you started fsck? Now I wonder if the file system is really fixed, with possibly some files in /pkgsrc subdirectories lost, or if the hard drive is starting to fail. You see it soon. I would not bother about a single problem like this. I have had it over and over again at a location with bad power supply with a normal PC without UPS. The hard disk is - one year later - still working in a different location without any new problems. Erich I remembered not to run fsck on a mounted partition. When I booted into NetBSD, I mounted the partition, /dev/dk6, and found it didn't look trashed, though there was a warning regarding the dirty flag. Then I umounted before running fsck_ffs, successfully. It was not a power problem, I have Opti-UPS. NetBSD crashed a few times with the partition in question mounted. Starting X and exiting X are high-crash-risk in NetBSD. Maybe using the same partition by both FreeBSD and NetBSD induces file system errors? Or maybe it's the NetBSD system crash. I could be sure to not have any partition on 3 TB hard disk mounted unnecessarily when running NetBSD: umount when finished and before running X. Tom ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Re: bash Shell Scripting Question
On 09/20/2012 04:29, Polytropon wrote: Correct. You could use different approaches which may or may not fail due to the directory names you will encounter (like directories with spaces or special characters). #!/bin/sh for DIR in `ls -LF | grep \/`; do cd ${DIR} # do stuff done Or you can use piping: #!/bin/sh ls -LF | grep \/ | while read DIR; do cd ${DIR} # do stuff done I'm quite confident there are even more elegant and fault- tolerant solutions. You would maybe have to tweak the ls command or play with IFS (space or newline). Even if you start quoting ${DIR}, the first one will fail at least for names containing spaces, the second one at least for names starting with spaces. As you said, you would have to change IFS to maybe slash and newline, assuming that you do not have names containing newlines, in which case the approach cannot work. I understand that you want all directories and links to directories not starting with a period. How about trying all files not starting with a period and skipping the non directories: #!/bin/sh for DIR in * do cd $DIR /dev/null 21 || continue pwd cd - /dev/null done This one works with names containing spaces or even newlines and does not even need to spawn external commands or subshells. It may have other caveats, though. Cheers, Jan Henrik ___ 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: have desktop on freebsd
thank you every body for your answers. i understand that my garphic card is NVIDIA not intel therefore i installed nvidia driver from port. now it seems that everything is ok. there is no error in Xorg.log file and when i run startx command, no errors occurred. but when i restart my system,i don't have desktop yet. i don't know what to do and search for what, because there is no error. please tell me if you have any idea about it. thanks On 9/19/12, Bernt Hansson b...@bananmonarki.se wrote: 2012-09-19 07:23, saeedeh motlagh skrev: thanks Bernt, i deinstall it and then try startx. startx works and displays graphical page. but when i restart me system i do not have desktop yet. you know, startx displays graphical page when fbdev is installed too. please let me know if you have any idea or hint that can solved my problem becuase i don't have any idea anymore. thanks Try this; cd /usr/ports/x11-drivers/xorg-drivers make rmconfig Then when you run make double check you do not have fbdev marked. ___ 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: have desktop on freebsd
-Original Message- From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-questi...@freebsd.org] On Behalf Of saeedeh motlagh Sent: Thursday, September 20, 2012 5:49 AM To: Bernt Hansson Cc: Stephan Schindel; freebsd-questions@freebsd.org Subject: Re: have desktop on freebsd thank you every body for your answers. i understand that my garphic card is NVIDIA not intel therefore i installed nvidia driver from port. now it seems that everything is ok. there is no error in Xorg.log file and when i run startx command, no errors occurred. but when i restart my system,i don't have desktop yet. i don't know what to do and search for what, because there is no error. please tell me if you have any idea about it. Thanks - Are you saying that X doesn’t work after reboot or are you saying that X doesn’t automatically launch after reboot? If it’s the latter, you need to enable it, either by turning tty8 on or by adding line to startup config. ___ 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: bash Shell Scripting Question
Many thanks! The for loop was what was needed. Polytropon writes: Just a sidenote: If you're not using bash-specific functionality and intend to make your script portable, use #!/bin/sh instead. I always start out that way for that very reason. I needed some random number functions and arithmetic for another part of the script so I ended up going to bash. while read dirname; do Attention: dirname (/usr/bin/dirname) is a binary! You are so correct! Thank you. Continuing; Correct. You could use different approaches which may or may not fail due to the directory names you will encounter (like directories with spaces or special characters). In this application, all the directories will be non-problematic, but point well taken. #!/bin/sh for DIR in `ls -LF | grep \/`; do cd ${DIR} # do stuff done That works perfectly. Again many 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: have desktop on freebsd
Pcbsd is always an option. On Sep 20, 2012 2:50 AM, saeedeh motlagh saeedeh.motl...@gmail.com wrote: thank you every body for your answers. i understand that my garphic card is NVIDIA not intel therefore i installed nvidia driver from port. now it seems that everything is ok. there is no error in Xorg.log file and when i run startx command, no errors occurred. but when i restart my system,i don't have desktop yet. i don't know what to do and search for what, because there is no error. please tell me if you have any idea about it. thanks On 9/19/12, Bernt Hansson b...@bananmonarki.se wrote: 2012-09-19 07:23, saeedeh motlagh skrev: thanks Bernt, i deinstall it and then try startx. startx works and displays graphical page. but when i restart me system i do not have desktop yet. you know, startx displays graphical page when fbdev is installed too. please let me know if you have any idea or hint that can solved my problem becuase i don't have any idea anymore. thanks Try this; cd /usr/ports/x11-drivers/xorg-drivers make rmconfig Then when you run make double check you do not have fbdev marked. ___ 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: Anyone Tried to use iPXE to boot with iSCSI?
On 19/09/2012 06:53, dweimer wrote: I was just trying some proof of concept testing to see if I could get a system booting with no local disk using iSCSI running from my FreeNAS box. I got started, by first booting a 9.1-RC1 CD, into live CD, created a /tmp/iscsi.conf used kldload to load the iscsi initiator, connected to the target, created a gpt boot partition, swap partition and just a single / volume using remianing space. Copied the bootcode, created the file system, extracted the system etc. Created a loader.conf file, added the iscsi_initiator_load=YES option, copied my /tmp/iscsi.conf file to the new file system at /etc/iscsi.conf created a /etc/fstab file using the gpart labels to mount / and swap partitions. Booted the system from the iPXE.iso, ran the necessary configuration options, connected to the iscsi volume, and booted from it. It does launch the bootcode, as expected, and then breaks failing to mount root. Whoch I actually expected, I have proved I can install to an iSCSI volume, I can connect to that iSCSI volume prior to loading the kernel, and load the kernel from it. What I can't seem to find any information on is how to mount iSCSI volumes at boot on FreeBSD, so that the kernel can mount the root partition. Does anyone have any idea how to do this, or if its even possible? Sounds like you need this http://freebsd.1045724.n5.nabble.com/iSCSI-boot-driver-0-2-5-isboot-ko-has-been-released-td5736301.html Vince ___ 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: bash Shell Scripting Question
On Thu, 20 Sep 2012 11:16:40 +0200, Jan Henrik Sylvester wrote: On 09/20/2012 04:29, Polytropon wrote: Correct. You could use different approaches which may or may not fail due to the directory names you will encounter (like directories with spaces or special characters). #!/bin/sh for DIR in `ls -LF | grep \/`; do cd ${DIR} # do stuff done Or you can use piping: #!/bin/sh ls -LF | grep \/ | while read DIR; do cd ${DIR} # do stuff done I'm quite confident there are even more elegant and fault- tolerant solutions. You would maybe have to tweak the ls command or play with IFS (space or newline). Even if you start quoting ${DIR}, the first one will fail at least for names containing spaces, the second one at least for names starting with spaces. As you said, you would have to change IFS to maybe slash and newline, assuming that you do not have names containing newlines, in which case the approach cannot work. You are fully correct: In order to create an iterator that provides valid directory names, even for the cases where unusual characters (which are _valid_ characters for file names and directory names) are included, is not trivial. Allow me to point to those two articles which mention different approaches and show why they are wrong. :-) David A. Wheeler: Filenames and Pathnames in Shell: How to do it correctly http://www.dwheeler.com/essays/filenames-in-shell.html David A. Wheeler: Fixing Unix/Linux/POSIX Filenames: Control Characters (such as Newline), Leading Dashes, and Other Problems http://www.dwheeler.com/essays/fixing-unix-linux-filenames.html I understand that you want all directories and links to directories not starting with a period. How about trying all files not starting with a period and skipping the non directories: #!/bin/sh for DIR in * do cd $DIR /dev/null 21 || continue pwd cd - /dev/null done This one works with names containing spaces or even newlines and does not even need to spawn external commands or subshells. It may have other caveats, though. It will work - it delegates resolving * to the shell instead of having a different program (ls | grep, find) doing that. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Replacing mirrored swap
Hi, I'm using a ZFS mirror, and had a disc fail. I had a spare unused disc in the case, and just switched over to that, after partitioning it with gpart. ZFS is great, just have to say that. But I'm not sure about the correct way to bring the new swap partition online. Do I use gmirror label, as I did when I created it? Or gmirror insert? Or something else. I'm using the round-robin balancing algorithm, if that matters. Thanks in advance for your help. Scott -- s...@ssr.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Replacing mirrored swap
On Thu, Sep 20, 2012 at 11:47 AM, Scott Ballantyne s...@ssr.com wrote: Hi, I'm using a ZFS mirror, and had a disc fail. I had a spare unused disc in the case, and just switched over to that, after partitioning it with gpart. ZFS is great, just have to say that. But I'm not sure about the correct way to bring the new swap partition online. Do I use gmirror label, as I did when I created it? Or gmirror insert? Or something else. I'm using the round-robin balancing algorithm, if that matters. Thanks in advance for your help. Scott The handbook or man page on gmirror cover this exact scenario. -- Adam Vande More ___ 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
[solved] Re: 9.0 release not dead but barely breathing after idling
Finally. Turns out I had done something really dumb; the problem had nothing to do with screen blanking or X. Because I send and receive mail via another server, I had disabled sending mail in rc.conf. don't do dat. I wasn't getting the system messages targeted at root, and eventually /var/spool/mqueue filled up. With /var full, things don't work too well. I didn't know /var was full because I wasn't getting the messages... bad administrator. bad! bad! don't do dat ever again! Gary On 08/21/12 21:28, Gary Aitken wrote: Aargh... So my 9.0 RELEASE system no longer totally hangs when sitting idle... it seems to run quite a bit longer, waking up from screen blanking in general even after long (overnight) periods of sitting idle. However, not always. X (screen was allowed to blank after 10 min, I'm testing w/ that off now.) blanked the screen. I come back after a few hrs of the system doing nothing (leaving a lot of stuff open, esp in firefox) and the screen is blank (expected) but doesn't wake up. I can ping from another machine, but not rlogin (no response). That seems weird. /var/log/messages shows no activity around attempted rlogin time Previously, before I turned off memory hole mapping in bios, it would go totally dead, but now it's clearly breathing. Power switch doesn't do a soft reboot, but I haven't tested it independently to see if it works at all. Will do that on next reboot. Question: If one does ctlaltD to get out of X, how does that affect things? i.e. Since there is no active X display, what happens if a process tries to repaint? Does this effectively take display hardware out of the picture for troubleshooting? Output from last: garya pts/5nightmare Tue Aug 21 18:26 - 18:26 (00:00) garya pts/3:0 Tue Aug 21 17:12 still logged in garya pts/2:0 Tue Aug 21 17:12 still logged in garya pts/0:0 Tue Aug 21 17:12 still logged in garya pts/1:0 Tue Aug 21 17:12 still logged in garya pts/4:0 Tue Aug 21 17:12 still logged in garya ttyv0 Tue Aug 21 17:08 still logged in boot time Tue Aug 21 17:06 garya pts/3:0 Sun Aug 19 15:44 - crash (2+01:22) garya pts/4:0 Sun Aug 19 15:44 - crash (2+01:22) garya pts/2:0 Sun Aug 19 15:44 - crash (2+01:22) garya pts/1:0 Sun Aug 19 15:44 - crash (2+01:22) garya pts/0:0 Sun Aug 19 15:44 - crash (2+01:22) root ttyv4 Sun Aug 19 15:42 - crash (2+01:23) garya pts/4:0 Sun Aug 19 15:15 - 15:41 (00:25) I discovered the system was hung and rebooted around Aug 21 17:06. Why is no crash recorded on Aug 21? The system was working (behaving normally) until at least ~ Aug 21 15:00 Since I could ping it around Aug 21 17:00, but then did a forced power down in order to reboot, shouldn't that show as a crash or something? Why is there no boot recorded soon after Aug 19 15:44? (I did reboot) Why does the first entry for garya after boot show still logged in? Is this because the records are based on the utx.log file, and the system crashed, so it looks like I'm still logged in? /var/log/cron shows: Aug 21 13:11:00 breakaway /usr/sbin/cron[10699]: (operator) CMD (/usr/libexec/save-entropy) Aug 21 13:15:00 breakaway /usr/sbin/cron[10717]: (root) CMD (/usr/libexec/atrun) Aug 21 13:20:00 breakaway /usr/sbin/cron[10719]: (root) CMD (/usr/libexec/atrun) Aug 21 13:22:00 breakaway /usr/sbin/cron[10721]: (operator) CMD (/usr/libexec/save-entropy) Aug 21 13:25:00 breakaway /usr/sbin/cron[10733]: (root) CMD (/usr/libexec/atrun) Aug 21 17:10:00 breakaway /usr/sbin/cron[1878]: (root) CMD (/usr/libexec/atrun) Aug 21 17:11:00 breakaway /usr/sbin/cron[1882]: (operator) CMD (/usr/libexec/save-entropy) So it appears the system went south around Aug 21 13:25 Anything else I should look at for hints? Any suggestions for how to narrow this down further other than: disabling X screen blanking ctlaltD to get out of X prior to leaving machine idle Thanks for any suggestions, gary ___ 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: Can't find kernel, finds slices but no files on them
On 20 September 2012 00:59, Polytropon free...@edvax.de wrote: On Thu, 20 Sep 2012 00:22:20 +0200, Fritiof Hedman wrote: On 19 September 2012 23:37, Polytropon free...@edvax.de wrote: On Wed, 19 Sep 2012 23:28:30 +0200, Fritiof Hedman wrote: Hi list! I must warn you, I'm quite new to FreeBSD (I'm mostly using Linux otherwise). I have inherited an old (yes, very old) BSD 4.7 machine on my work that I need to clone. I've setuped an identical copy of the slices on the target machine, ran dump the source machine and restore on the target machine, edited /etc/fstab to match the filesystems. I'm also running the GENERIC-kernel, I've done this using the FreeSBIE live CD. What procedure did you use to clone? There basically is the one way, using dump + restore on partitions (not slices!), or dd on either partitions, slices, or the whole disk. I maybe not so sure about the nomenclature that is used in FreeBSD. The terminology is simple and as follows: A disk is a disk, e. g. /dev/ad0. A slice is a DOS primary partition on the disk, e. g. /dev/ad0s1. A partition is a subdivision of a slice, e. g. /dev/ad0s1a. Partitions can be used without a slice that encloses them, e. g. /dev/ad0a; this is called dedicated mode (because some obscure operating systems may have problems accessing something they cannot even understand). Tools like dump and restore operate on partitions. Tools like dd operate on everything. Thanks for the clarification! However, I dumped / on the source machine, and restored on /mnt/tmp on the source machine. I assume you did dump and restore via network? Like this? http://www.wonkity.com/~wblock/docs/html/backup.html#_tt_dump_tt_via_ssh Or this? http://www.wonkity.com/~wblock/docs/html/backup.html#_copying_filesystems A combination of those... dump -C16 -b64 -0uan -h0 -f - /| ssh -c blowfish user@otherhost (cd /tmp restore -ruf -) Or did you have both disks in the same machine and transfer from one disk to the other? Anyway, if you have already reliably (!) confirmed that all data is in the location they are supposed to be, your copying procedure should have been fine. However, when I boot I get to BTX loader (so I guess boot0 and boot2 is correct), that can't load kernel nor kernel.old. see attached img1.png . Images cannot be attached to list messages. :-( Oh, I see. It essentilally says something like: BTX loader 1.00 BTX version is 1.01 Console: internal video/keyboard BIOS drive A: is disk0 BIOS drive C: is disk1 BIOS 638kB/1046464kB available memory FreeBSD/i386 bootstrap loader, Revision 0.8 (r...@builder.freebsdmall.com, Wed Oct 9 12:33:26 GMT 2002) \ Hit [Enter] to boot immediately, or any other key for command prompt. Booting [kernel] can't load 'kernel' can't load 'kernel.old' Type '?' for a list of commands, 'help' for more detailed help. ok ls open '/' failed: no such file or directory ok Did you try echo * and echo /boot/* (and related important directories) to make sure? Note that the * is _required_ in this specific case. As you saw, the prompt just returns *. I can't ls, as the loader says there is no such file or directory (also seen in img1.png). You can use echo * in the loader stage, if I remember correctly. Enter ? for a list of the available loader commands (or was it help?). echo * just prints a pretty asterisk :) I'm not sure if this is really the proper command at the ok prompt (which is the state prior to loading the kernel); I could shutdown my machine to check... As I'm not very often sitting at the low level prompts, Ok and boot:, I'm not really sure. It was more or less that way I did id, the difference were that I mounted /usr under /, and not unmount each partition every time. That's not required as long as your CWD within the hierarchy for restoring is correct, and the mountpoints you want to restore to are correctly accessible. For example, if you missed to mount /mnt/usr to (let's say) /dev/ad1s1e (the partition that would be /usr soon), stuff would go to the wrong place. Everything got to the new place, so that should not be the problem. Did you transfer a multi-partition system (typically /, /var, /tmp, /usr and /home) or do you have everything in one big / partition? Multi-partiton system I'm rerunning as the first document says that I should do (ie unmount the partition that I've just dumped and restored). I've justed tested to do as described in the document, with the very same result. You should not mount the partition you _dump from_ (even though it's possible); only the partition you _restore to_ has to be (!) mounted. It doesn't basically matter _where_ it is mounted. As you could already locate the data at the correct places, we can assume that you did everything correct. To be sure, you could fsck the destination disks's partitions. Make sure they are not mounted.
Re: Anyone Tried to use iPXE to boot with iSCSI?
On 2012-09-20 09:42, Vincent Hoffman wrote: On 19/09/2012 06:53, dweimer wrote: I was just trying some proof of concept testing to see if I could get a system booting with no local disk using iSCSI running from my FreeNAS box. I got started, by first booting a 9.1-RC1 CD, into live CD, created a /tmp/iscsi.conf used kldload to load the iscsi initiator, connected to the target, created a gpt boot partition, swap partition and just a single / volume using remianing space. Copied the bootcode, created the file system, extracted the system etc. Created a loader.conf file, added the iscsi_initiator_load=YES option, copied my /tmp/iscsi.conf file to the new file system at /etc/iscsi.conf created a /etc/fstab file using the gpart labels to mount / and swap partitions. Booted the system from the iPXE.iso, ran the necessary configuration options, connected to the iscsi volume, and booted from it. It does launch the bootcode, as expected, and then breaks failing to mount root. Whoch I actually expected, I have proved I can install to an iSCSI volume, I can connect to that iSCSI volume prior to loading the kernel, and load the kernel from it. What I can't seem to find any information on is how to mount iSCSI volumes at boot on FreeBSD, so that the kernel can mount the root partition. Does anyone have any idea how to do this, or if its even possible? Sounds like you need this http://freebsd.1045724.n5.nabble.com/iSCSI-boot-driver-0-2-5-isboot-ko-has-been-released-td5736301.html Vince That's looking promising, I had actually ran across an earlier version of this last night, of course that was all dealing with 8.1. Will definitely do more looking into it, however it doesn't seem to be at a point I would consider running anything more than a test environment from it. My actual goal with this project if the proof of concept panned out was to replace the old aging internal SATA Mirrored drives in my Home web/email server (They are showing a decent number of smart pre-fail indicators, but still working for now). I have fairly new SATA drives in my FreeNAS box, and thought maybe since my Gig network is barely being taxed, that I could save some cash for new disk drives, to be put towards future upgrades to the FreeNAS box instead. However I am not ruling out the possibility altogether yet, and am going to run some tests with booting from a very minimal set of required files on a USB thumb Drive, and mounting everything else from iSCSI. I am already running all my VMware Test Virtual Machines on my workstation from an iSCSI volume mounted from my FreeNAS box, and know that it performs well enough in my network to handle the small amount of traffic to my website and my email without any problems. -- Thanks, Dean E. Weimer http://www.dweimer.net/ ___ 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: What replaces csup?
I also find portsnap slower than either csup or svn. That surprises me. Once the initial download and extract is done, I find portsnap fetch update to be miles faster than csup. However, each to his own, I suppose. +1 ___ 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
recompiling pf module, pfctl
Hello, If I need to recompile pfctl and snmp_pf, would I run 'make clean', 'make', and 'make install' in /usr/src/usr.sbin/bsnmpd/modules/snmp_pf and /usr/src/sbin/pfctl? Is either of the directories incorrect or some other combination of make calls required there? Thank you, Darrel ___ 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: recompiling pf module, pfctl
Hello, If I need to recompile pfctl and snmp_pf, would I run 'make clean', 'make', and 'make install' in /usr/src/usr.sbin/bsnmpd/modules/snmp_pf and /usr/src/sbin/pfctl? Is either of the directories incorrect or some other combination of make calls required there? Oh, forgot to mention. The machine has been updated to -current, has zpool-features instead of 28 and with the new boot code. Mergemaster has been run and I am waiting to reboot until after the pfctl modules are updated as mentioned but not described in /usr/src/UPDATING. Darrel ___ 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
Tape drive recommendations
Hi all, I know this is a bit off-topic, but I'm looking for suggestions. In one of my corporate sites, I've got a Tandberg Magnum 2x24 dual 10-slot tape backup device that I feel is on its way out. The storage amount for this site is adequate with the existing device and so is the performance, but I'm just curious to find out others opinions on what they use for tape backup machines nowadays before I purchase something new. I back up between 2 and 4 TB per day at this particular site. Off-list replies if you don't feel comfortable specifying vendors publicly are welcome. 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
Re: Tape drive recommendations
On Thu, Sep 20, 2012 at 2:45 PM, Steve Bertrand steve.bertr...@gmail.com wrote: Hi all, I know this is a bit off-topic, but I'm looking for suggestions. In one of my corporate sites, I've got a Tandberg Magnum 2x24 dual 10-slot tape backup device that I feel is on its way out. The storage amount for this site is adequate with the existing device and so is the performance, but I'm just curious to find out others opinions on what they use for tape backup machines nowadays before I purchase something new. I back up between 2 and 4 TB per day at this particular site. Off-list replies if you don't feel comfortable specifying vendors publicly are welcome. Steve We've had good luck with our Spectralogic T50 with DLT3 drives, and mediocre luck with our Dell 124T with a DLT4 drive that replaced the Spectralogic. If I had to choose, I'd stick with the Spectralogic.. Kurt ___ 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: How do I set number of retries in Firefox?
I have a problem with various parts of web pages stopping before getting completely downloaded. Links has a useful retries setting (setup-network options-retries) which seems to fix this. I need a similar fix for firefox 3.6.2 Firefox 15 URL: about:config search: retry network.http.connection-retry-timeout;250 3.6.2 doesn't have network.http.connection-retry-timeout, but I found network.http.max-connections and friends, reducing those should reduce the timeouts. So far so good. I would have never guessed to type about:config as a URL. Very useful to know. Thank you. ___ 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: How do I set number of retries in Firefox?
On Thu, 20 Sep 2012 20:52:27 -0400, Dieter BSD wrote: I would have never guessed to type about:config as a URL. Very useful to know. Thank you. Allow me a sidenote: This also works in Opera and provides access to configuration and functionality that has no usable GUI equivalent. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org