Path: csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!border2.nntp.dca1.giganews.com!Xl.tags.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.supernews.com!news.supernews.com.POSTED!not-for-mail NNTP-Posting-Date: Fri, 27 May 2016 08:53:34 -0500 Newsgroups: comp.os.linux.hardware Subject: Re: maximum number of partitions References: <87fut4kado.fsf@engels.histomat.net> <87bn3sk2oy.fsf@engels.histomat.net> <877fefkbb3.fsf@engels.histomat.net> <871t4n908f.fld@barrow.com> <87y46viqfn.fsf@engels.histomat.net> From: floyd@apaflo.com (Floyd L. Davidson) Organization: __________ Date: Fri, 27 May 2016 05:53:28 -0800 Message-ID: <87wpmf7gkn.fld@barrow.com> User-Agent: gnus 5.10.6/XEmacs 21.4.15/Linux 2.6.19 Cancel-Lock: sha1:+q8CVI8bvxidMW+E4qs1btQjpVg= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Lines: 44 X-Trace: sv3-CnaJDlTtos03nZJvpgt8uESCidw2oZ7Hq1NjZLi0Znxm8ALSBrC8mdtoDe0kwiQudGdkvBFCl6hJfiL!m7T4ArKvbTYIhlgE6aFjktrfKmNMcBQDRqXn3zqeU3MOELFMwPOS8jxa2w/veQ== X-Complaints-To: www.supernews.com/docs/abuse.html X-DMCA-Complaints-To: www.supernews.com/docs/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 3111 Xref: csiph.com comp.os.linux.hardware:3094 Haines Brown wrote: >floyd@apaflo.com (Floyd L. Davidson) writes: > >> Haines Brown wrote: >>> >>> # mount /dev/sda11 /mnt/ >>> /dev/sda11 looks like swapspace - not mounted >> >> For grins and giggles, what does "swapon -s" produce? > > # swapon -s > Filename Type Size Used Priority > /dev/sdb10 partition 31249404 0 -1 > /dev/sda11 partition 134217724 0 -2 > >Yes, that does produce a grin/giggle, but what does it mean? The HDD at >this point only has a single primary partition. So the misinformation is >local. The biggest part of the grin is that you've found your problem. The /dev/sda11 partition is not mounted as a filesystem... but it is mounted as swap space. You will want to look to see if that is happening automatically at boot, or if it's just something you did once. Check /etc/fstab to see if it is listed there. And run "swapoff /dev/sda11" to clear all the problems it is causing. Then use fdisk (or cfdisk) to re-write the partition table again. >Is swapon -s simply reading /proc/swaps? That is, are /proc/swaps and >/proc/partitions the primary repositories of information so that I might >simply delete undesirable lines? I want to avoid rebooting and >interrupting work, while others may run a server and are unable to >reboot. Surely there is some way to do a minor lobotomy on a running >system. You can't just "delete" lines. They are telling you what the kernel status is. When you change the kernel status it will automatically be reflected in what can be read from the pseudo files in the /proc directory. -- Floyd L. Davidson http://www.apaflo.com/ Ukpeagvik (Barrow, Alaska) floyd@apaflo.com