Re: Unknown devices
On Thu, 15 Oct 2009 00:38:03 +0200 Polytropon wrote: > On Wed, 14 Oct 2009 23:04:51 +0400, Arkady Tokaev > wrote: > > > > While I was trying to update ports I have received message > > about absence disk space.It's impossible, I thought.But df > > command said: > > > $ df -h > > Filesystem SizeUsed Avail Capacity Mounted on > > /dev/ad0s1a 23G3.5G 18G16%/ > > devfs 1.0K1.0K 0B 100%/dev > > /dev/md0 9.4M2.8M6.5M30%/etc > > /dev/md131M 16M 13M55%/usr/local/etc > > /dev/md219M 18K 19M 0%/root > > /dev/md331M6.1M 24M20%/var > > $ > > What is the md devices?How I can remove them? > > See "man md": The md devices refer to memory disks, RAM that > "emulates" a hard disk. > > Sadly, I don't recognize a reason why your /etc, /usr/local/etc, > /root and /var subtrees are mounted onto memory disks... seems > that you're not running a default install, do you? I would imagine that they're vnode md devices that each have a file on the root filesystem as a backing store. I've never tried it myself but you could do this as an alternative to conventional partitioning. It's a little less efficient, but they can be resized. I'm not aware that sysinstall can install like this though - perhaps it's pc-bsd or something. There should lines like mdconfig_md0="..." defining the devices in rc.conf ___ 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: Unknown devices
On Fri, 16 Oct 2009 12:14:29 +0400, Arkady Tokaev wrote: > > Fogot to ask. When I login as a root I see invitation > sign "%", not "#". What it means? The prompt character shows if you are logged in as root or not. Most shells use $ or % for non-root, and # for root. Which shell are you using? % echo $SHELL If you're using the C shell, make sure there's no overriding setting in your /root/.cshrc that as something like set prompt = "%" in it - this would override the default # sign. The most convenient form is to use those two lines in /etc/csh.cshrc in order to make them available globally: set promptchars = "%#" set prompt = "%...@%m:%~%# " The first line contains the prompting character for non-root users first, for root next. The second line forms a comfortable C shell prompt, containing the user and the hostname, the current working directory and the prompt character (automatically depending on root or non-root). It looks like this: u...@host:/the/current/path% _ or r...@mysystem:~# _ The user's home directory is shown as ~ so that the directory element won't be too long. Keep in mind that if /root/.cshrc exists and contains different settings, it will override the global defaults. -- 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: Unknown devices
Fogot to ask. When I login as a root I see invitation sign "%", not "#". What it means? Arkady Tokaev From: tok...@hotmail.com To: free...@edvax.de CC: freebsd-questions@freebsd.org Subject: RE: Unknown devices Date: Thu, 15 Oct 2009 16:15:58 +0400 Grate thanks!I had installed from 3 CD FreeBSD 7.2 with default (I hope) options.I don't understand - why it occurs, but now I understand - where to look.I think - I will reinstall the system, but if You have idea about this trouble - say me.Unfortunately I can not ask your last question because I very novice in FreeBSD. I just followed the instruction for FreeBSD router. Once more thanks, Arkady Tokaev > Date: Thu, 15 Oct 2009 00:38:03 +0200 > From: free...@edvax.de > To: tok...@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: Unknown devices > > On Wed, 14 Oct 2009 23:04:51 +0400, Arkady Tokaev wrote: > > > > While I was trying to update ports I have received message > > about absence disk space.It's impossible, I thought.But df > > command said: > > > $ df -h > > Filesystem SizeUsed Avail Capacity Mounted on > > /dev/ad0s1a 23G3.5G 18G16%/ > > devfs 1.0K1.0K 0B 100%/dev > > /dev/md0 9.4M2.8M6.5M30%/etc > > /dev/md131M 16M 13M55%/usr/local/etc > > /dev/md219M 18K 19M 0%/root > > /dev/md331M6.1M 24M20%/var > > $ > > What is the md devices?How I can remove them? > > See "man md": The md devices refer to memory disks, RAM that > "emulates" a hard disk. > > Sadly, I don't recognize a reason why your /etc, /usr/local/etc, > /root and /var subtrees are mounted onto memory disks... seems > that you're not running a default install, do you? > > Regarding your initial problem - updating ports - this involves > writing operations in the ports directory (usually /usr/ports > which may be a subtree of /dev/ad0s1a on / in your setting) as > well as in /var, especially /var/db/pkg, the installed packages > database, and /var/ports. When /var is a memory disk with 30 MB, > it may be too small for such a process. Furthermore, if I see this > correctly, you're loosing the content of the package database > on reboot; is this intended? > > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... _ Не хотите, чтобы кто-то знал, что вы делали в Интернете вчера? Вам нужен Internet Explorer 8. http://www.microsoft.ru/ie8___ 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: Unknown devices
Grate thanks!I had installed from 3 CD FreeBSD 7.2 with default (I hope) options.I don't understand - why it occurs, but now I understand - where to look.I think - I will reinstall the system, but if You have idea about this trouble - say me.Unfortunately I can not ask your last question because I very novice in FreeBSD. I just followed the instruction for FreeBSD router. Once more thanks, Arkady Tokaev > Date: Thu, 15 Oct 2009 00:38:03 +0200 > From: free...@edvax.de > To: tok...@hotmail.com > CC: freebsd-questions@freebsd.org > Subject: Re: Unknown devices > > On Wed, 14 Oct 2009 23:04:51 +0400, Arkady Tokaev wrote: > > > > While I was trying to update ports I have received message > > about absence disk space.It's impossible, I thought.But df > > command said: > > > $ df -h > > Filesystem SizeUsed Avail Capacity Mounted on > > /dev/ad0s1a 23G3.5G 18G16%/ > > devfs 1.0K1.0K 0B 100%/dev > > /dev/md0 9.4M2.8M6.5M30%/etc > > /dev/md131M 16M 13M55%/usr/local/etc > > /dev/md219M 18K 19M 0%/root > > /dev/md331M6.1M 24M20%/var > > $ > > What is the md devices?How I can remove them? > > See "man md": The md devices refer to memory disks, RAM that > "emulates" a hard disk. > > Sadly, I don't recognize a reason why your /etc, /usr/local/etc, > /root and /var subtrees are mounted onto memory disks... seems > that you're not running a default install, do you? > > Regarding your initial problem - updating ports - this involves > writing operations in the ports directory (usually /usr/ports > which may be a subtree of /dev/ad0s1a on / in your setting) as > well as in /var, especially /var/db/pkg, the installed packages > database, and /var/ports. When /var is a memory disk with 30 MB, > it may be too small for such a process. Furthermore, if I see this > correctly, you're loosing the content of the package database > on reboot; is this intended? > > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... _ Не хотите, чтобы кто-то знал, что вы делали в Интернете вчера? Вам нужен Internet Explorer 8. http://www.microsoft.ru/ie8___ 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: Unknown devices
On Wed, 14 Oct 2009 23:04:51 +0400, Arkady Tokaev wrote: > > While I was trying to update ports I have received message > about absence disk space.It's impossible, I thought.But df > command said: > $ df -h > Filesystem SizeUsed Avail Capacity Mounted on > /dev/ad0s1a 23G3.5G 18G16%/ > devfs 1.0K1.0K 0B 100%/dev > /dev/md0 9.4M2.8M6.5M30%/etc > /dev/md131M 16M 13M55%/usr/local/etc > /dev/md219M 18K 19M 0%/root > /dev/md331M6.1M 24M20%/var > $ > What is the md devices?How I can remove them? See "man md": The md devices refer to memory disks, RAM that "emulates" a hard disk. Sadly, I don't recognize a reason why your /etc, /usr/local/etc, /root and /var subtrees are mounted onto memory disks... seems that you're not running a default install, do you? Regarding your initial problem - updating ports - this involves writing operations in the ports directory (usually /usr/ports which may be a subtree of /dev/ad0s1a on / in your setting) as well as in /var, especially /var/db/pkg, the installed packages database, and /var/ports. When /var is a memory disk with 30 MB, it may be too small for such a process. Furthermore, if I see this correctly, you're loosing the content of the package database on reboot; is this intended? -- 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"