define more partitions in freebsd
hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). any comments or hints are appreciated. SAM ___ 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: define more partitions in freebsd
On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. That's correct and expected for the MBR partitioning approach (which is considered mostly outdated today). i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. Because you _cannot_ define more partitions than up to 'h'. This is a hard-defined limit of MBR-style partitions (as they are initialized with bsdlabel). my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
thanks for your reply, it is a good news if i can define more partitions with gpart. names are not so important for me. if i can define more partitions with gpart, are these partitions work correctly? you know i wan to define a journal partition for each partition on my freebsd. so if i use these extra partition as journal provider, do they work correctly? and another question, how can i define more partitions with gpart? i searched and some people say to use gpart -n 20. do you mean to use this command too? and my last question, some people say to change byte 0x28a of the disk from 0x08 to 0x14 (which 14 is the number of partitions). do you think it's a good idea and applicable solution? thanks for your attention On 6/1/13, Polytropon free...@edvax.de wrote: On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. That's correct and expected for the MBR partitioning approach (which is considered mostly outdated today). i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. Because you _cannot_ define more partitions than up to 'h'. This is a hard-defined limit of MBR-style partitions (as they are initialized with bsdlabel). my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Where to get source for 10?
On 2013-06-01 02:47, Walter Hurry wrote: On Fri, 31 May 2013 19:27:36 -0400, Ayan George wrote: On 05/31/2013 07:23 PM, Walter Hurry wrote: For 9.1 I can checkout http://svn.freebsd.org/base/releng/9.1/ But where can I get the source for FreeBSD10? I assume it'd be the head branch: http://svn.freebsd.org/base/head/ Thanks. Consider using a mirror: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn-mirrors.html signature.asc Description: OpenPGP digital signature
Re: define more partitions in freebsd
s m writes: and my last question, some people say to change byte 0x28a of the disk from 0x08 to 0x14 (which 14 is the number of partitions). do you think it's a good idea and applicable solution? Short answer: if you have to ask - no, it isn't. :-) Respectfully, 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: define more partitions in freebsd
thanks Robert, so i just have one choice: gpart. do you know how to use it? i define ad3 and ad3s1; after that i run this command: gpart create -s mbr -n 20 ad3s1. but this error happens: GEOM: file exists. after that i do it again in different way: i create ad3 and after that run the above command but it says: invalid argument ad3s1. i think because there is no ad3s1!!! now how can i use -n flag to set entries number for my partitioning??? you know it is so important for me :(( any comments or hints are really appreciated. SAM On 6/1/13, Robert Huff roberth...@rcn.com wrote: s m writes: and my last question, some people say to change byte 0x28a of the disk from 0x08 to 0x14 (which 14 is the number of partitions). do you think it's a good idea and applicable solution? Short answer: if you have to ask - no, it isn't. :-) Respectfully, 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: define more partitions in freebsd
On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. That's correct and expected for the MBR partitioning approach (which is considered mostly outdated today). i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. Because you _cannot_ define more partitions than up to 'h'. This is a hard-defined limit of MBR-style partitions (as they are initialized with bsdlabel). my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Are you sure of this? Can you GPT-partition an MBR slice as opposed to the whole disk? You should get ad3p1, ad3p2, ...,ad3p10, ad3p11, ... Then you would have to migrate an MBR partition table to GPT, if you have non-FreeBSD slices. I don't know if gpart can do that, but Rod Smith's gdisk (included in FreeBSD ports) or gpt (still used in NetBSD but not FreeBSD) can. 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: define more partitions in freebsd
On Sat, 1 Jun 2013, Polytropon wrote: On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. GPT partitioning is a replacement for MBR partitioning, and will generally look like ad3p1, ad3p2, and so on. FreeBSD's GPT implementation should allow 128 GPT partitions by default, although I have not tested that. Use of gpart to set up a disk is shown here: http://www.wonkity.com/~wblock/docs/html/disksetup.html The FreeBSD 9.x installer, bsdinstall, uses GPT partitioning by default. The older sysinstall that is used on FreeBSD 8 does not, and probably has no native way to use GPT. The partitions would have to be set up manually from a shell before running the installer, and then manually entered in the installer. ___ 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
FreeBSD10: lock order reversal with portsnap extract
I'm installing FreeBSD10 (head; snapshot from 30 May 2013) into a VM. One of the first things I do is a 'portsnap fetch extract'. As soon as the extract starts it produces a 'lock order reversal' message with a KDB stack backtrace, but then proceeds successfully to verify the integrity and install the ports tree. Should I worry? ___ 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: FreeBSD10: lock order reversal with portsnap extract
El 01/06/2013 15:44, Walter Hurry walterhu...@gmail.com escribiĆ³: I'm installing FreeBSD10 (head; snapshot from 30 May 2013) into a VM. One of the first things I do is a 'portsnap fetch extract'. As soon as the extract starts it produces a 'lock order reversal' message with a KDB stack backtrace, but then proceeds successfully to verify the integrity and install the ports tree. Should I worry? LORs should be avoided when possible but are not a bug per se. You should check the pages listed here[1] to see if your lor has already been reported. Cheers. [1] https://wiki.freebsd.org/LOR ___ 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: define more partitions in freebsd
On Sat, 1 Jun 2013 07:10:03 -0600 (MDT), Warren Block wrote: On Sat, 1 Jun 2013, Polytropon wrote: On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. GPT partitioning is a replacement for MBR partitioning, and will generally look like ad3p1, ad3p2, and so on. Sorry for my inaccuracy: Of course the slicing part as well as the BSD partitions are _both_ replaced by GPT partition numbers. Use of gpart to set up a disk is shown here: http://www.wonkity.com/~wblock/docs/html/disksetup.html That article should be on the top of each list regarding disk partitioning on FreeBSD, maybe something comparable could be added to the Handbook? The FreeBSD 9.x installer, bsdinstall, uses GPT partitioning by default. The older sysinstall that is used on FreeBSD 8 does not, and probably has no native way to use GPT. As far as I know: no. You have to use the common CLI tools if you want to install FreeBSD 8 on a GPT system (but it's easily possible). The partitions would have to be set up manually from a shell before running the installer, and then manually entered in the installer. With the precaution of _not_ to vary existing partitions. However, I don't know how the installer will handle the non-MBR partitions (probably comparable to dedicated partitions?), I've never tried that. (Even for dedicated layout, I personally tend to use CLI only, without using sysinstall or sade). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: define more partitions in freebsd
On Sat, 1 Jun 2013 05:36:13 -0700 (PDT), Thomas Mueller wrote: On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. That's correct and expected for the MBR partitioning approach (which is considered mostly outdated today). i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. Because you _cannot_ define more partitions than up to 'h'. This is a hard-defined limit of MBR-style partitions (as they are initialized with bsdlabel). my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... Are you sure of this? Can you GPT-partition an MBR slice as opposed to the whole disk? Probably not. GPT obsoletes both slices and partitions. You should get ad3p1, ad3p2, ...,ad3p10, ad3p11, ... That is what I should have written. :-) Then you would have to migrate an MBR partition table to GPT, if you have non-FreeBSD slices. I don't know if gpart can do that, but Rod Smith's gdisk (included in FreeBSD ports) or gpt (still used in NetBSD but not FreeBSD) can. The simplest approach would probably be to backup the data from the existing partitions, re-inialize the whole disk with a GPT scheme, format the (GPT) partitions and then restore the dump previously taken. I'm not sure if such kind of harsh re-partitioning can be done _safely_ on the fly... -- 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
cannot ftp using proxy
Hello! Still can't resolve problem with ftp utility. root@ona:/root # ftp ftp2.freebsd.org ftp: Can't connect to `128.205.32.24:21': Operation timed out ftp: Can't connect to `ftp2.freebsd.org:ftp' ftp socksta -4 tells me that it is not even trying to connect to proxy server, connecting directly instead: root@ona:/root # sockstat -4 USER COMMANDPID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root ftp54160 3 tcp4 10.10.15.26:50457 128.205.32.24:21 root@ona:/root # uname -a FreeBSD ona.iem.gov.lv 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 r...@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 root@ona:/root # env TERM=screen ftp_proxy=http://myproxy:8080 http_proxy=http://myproxy:8080 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/csh HOME=/root USER=root HOSTTYPE=FreeBSD VENDOR=amd OSTYPE=FreeBSD MACHTYPE=x86_64 SHLVL=1 PWD=/root LOGNAME=root GROUP=wheel HOST=ona EDITOR=vi PAGER=more BLOCKSIZE=K Tried to google with no luck - no solution works for me. By the way, fetch works as expected, I can fetch and install ports. I would appreciate any help and/or any hints! Best regards! VS. ___ 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: define more partitions in freebsd
s m sam.gh1...@gmail.com writes: hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). any comments or hints are appreciated. SAM Others have already commented that GPT labels are better, but I think that you can have more than 8 partitions. I remember a posting a while back that the maximum had been increased. You will have to experiment if you want to do this, but gpart shows an example that uses 20 partitions: '/sbin/gpart create -s BSD -n 20 ada0s1'. I also don't know that bsdlabel will handle these, so you definitely should experiment first. -- Carl Johnsonca...@peak.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: FreeBSD10: lock order reversal with portsnap extract
Hi, Reference: From: Walter Hurry walterhu...@gmail.com Date: Sat, 1 Jun 2013 13:43:47 + (UTC) Walter Hurry wrote: I'm installing FreeBSD10 (head; snapshot from 30 May 2013) into a VM. One of the first things I do is a 'portsnap fetch extract'. As soon as the extract starts it produces a 'lock order reversal' message with a KDB stack backtrace, but then proceeds successfully to verify the integrity and install the ports tree. Should I worry? Yes, you should worry ;-) Worry you didn't realise: a) questions@ list was created originally for beginners b) the so called 10 is actually current for that you should subscribe @ ask on curr...@freebsd.org Best go review the descriptions of the 50 odd lists we have on @freebsd.org Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with . Send plain text. No quoted-printable, HTML, base64, multipart/alternative. ___ 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: FreeBSD10: lock order reversal with portsnap extract
On Sat, 01 Jun 2013 20:22:29 +0200, Julian H. Stacey wrote: Hi, Reference: From:Walter Hurry walterhu...@gmail.com Date:Sat, 1 Jun 2013 13:43:47 + (UTC) Walter Hurry wrote: I'm installing FreeBSD10 (head; snapshot from 30 May 2013) into a VM. One of the first things I do is a 'portsnap fetch extract'. As soon as the extract starts it produces a 'lock order reversal' message with a KDB stack backtrace, but then proceeds successfully to verify the integrity and install the ports tree. Should I worry? Yes, you should worry ;-) Worry you didn't realise: a) questions@ list was created originally for beginners b) the so called 10 is actually current for that you should subscribe @ ask on curr...@freebsd.org Best go review the descriptions of the 50 odd lists we have on @freebsd.org Oh, OK. Sorry. Will do. ___ 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
quota advice
Hello all :-) I using quota and I've a doubt: many howto advice to put to cron something like: quotacheck -vguma but the problem is: quotacheck: Quota for users is enabled on mountpoint /data so quotacheck might damage the file. Please turn quotas off or use -f to force checking. So... can be a good idea, put: quotaoff -a quotacheck -vguma quotaon -a to script to do this check or there is another way? thanks for help! Pol ___ 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: openvpn and tap device
On 29.05.2013 17:52, Pol Hallen wrote: It's a while since I looked at OpenVPN, so this is from unreliable memory, but IIRC it uses tap devices under Windows and tun devices under Unix(ish) OSes. Do you see tun0 appear? sorry for the mistake: tun device I don't have any tun devices but I can use openvpn to connect to other vpn client Do you start openvpn from console or have you a log- file for openvpn? There stand, what openvpn is doing and how it connect. Pol ___ 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: openvpn and tap device
On May 29, 2013, at 8:52 AM, Pol Hallen wrote: It's a while since I looked at OpenVPN, so this is from unreliable memory, but IIRC it uses tap devices under Windows and tun devices under Unix(ish) OSes. Do you see tun0 appear? sorry for the mistake: tun device I don't have any tun devices but I can use openvpn to connect to other vpn client tun devices are used with software like vpnc in my experience. -- Devin _ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. 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
Test
Ping . Pong ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + email: n...@hdk5.net All that's really worth doing is what we do for others.- Lewis Carrol ___ 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: Test
On Sat, 1 Jun 2013, Al Plant wrote: Ping . Pong http://lists.freebsd.org/mailman/listinfo/freebsd-test Mahalo. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 7.2 - 8.0 - 9* + email: n...@hdk5.net All that's really worth doing is what we do for others.- Lewis Carrol -- Chris Hill ch...@monochrome.org ** [ Busy Expunging / ] ___ 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