Re: making more room in root partition for distribution upgrade

2018-05-25 Thread Abdullah Ramazanoğlu
On Fri, 25 May 2018 15:48:07 -0500 David Wright said: > On Fri 25 May 2018 at 11:19:58 (+0200), Miroslav Skoric wrote: >> On 05/21/2018 03:55 PM, David Wright wrote: >> >>> As for appendix C in the Installation Manual, well that looks like >>> a bit of a joke: who's running linux in 256MB

Re: making more room in root partition for distribution upgrade

2018-05-25 Thread David Wright
On Fri 25 May 2018 at 11:19:58 (+0200), Miroslav Skoric wrote: > On 05/21/2018 03:55 PM, David Wright wrote: > > >As for appendix C in the Installation Manual, well that looks like > >a bit of a joke: who's running linux in 256MB memory, let alone 16MB? > > > > One of my older machines still

Re: making more room in root partition for distribution upgrade

2018-05-25 Thread Pascal Hambourg
Le 25/05/2018 à 02:23, Mark Copper a écrit : One little bump: some bug requiring a little empty space separating logical partitions) It's not a bug, it's a feature of the extended partition layout. In short, each logical partition inside an extended partition must be preceded by an extended

Re: making more room in root partition for distribution upgrade

2018-05-25 Thread Miroslav Skoric
On 05/21/2018 03:55 PM, David Wright wrote: As for appendix C in the Installation Manual, well that looks like a bit of a joke: who's running linux in 256MB memory, let alone 16MB? One of my older machines still runs Wheezy LTS in 224 MB RAM. And soon I am going to try an upgrade to Jessie.

Re: making more room in root partition for distribution upgrade

2018-05-24 Thread Mark Copper
On Mon, May 21, 2018 at 12:23 PM, Pascal Hambourg wrote: Le 21/05/2018 à 18:14, Mark Copper a écrit : > >> On Sun, May 20, 2018 at 3:19 AM, Pascal Hambourg >> wrote: >> >>> Le 18/05/2018 à 02:05, Mark Copper a écrit : >>> >>> You will have to

Re: making more room in root partition for distribution upgrade

2018-05-23 Thread Curt
On 2018-05-22, Jerome Kutche wrote: > Curious .. Why do I get two of every posting. What setting do I need to > change.. Thanks Jerry > This might conceivably be poetic justice for top-posting and thread-hijacking.

Re: making more room in root partition for distribution upgrade

2018-05-22 Thread Stefan Monnier
> Curious .. Why do I get two of every posting. What setting do I need to > change.. Thanks Jerry Search for the "Skip every other posting" option. Stefan

Re: making more room in root partition for distribution upgrade

2018-05-22 Thread Jerome Kutche
Curious .. Why do I get two of every posting. What setting do I need to change.. Thanks Jerry On 5/22/2018 2:29 PM, Pascal Hambourg wrote: Le 22/05/2018 à 00:12, Abdullah Ramazanoğlu a écrit : On Mon, 21 May 2018 23:18:50 +0200 Pascal Hambourg said: Le 21/05/2018 à 22:09, Abdullah

Re: making more room in root partition for distribution upgrade

2018-05-22 Thread deloptes
Pascal Hambourg wrote: >> For example? > > Any operational requirement which prohibits unplanned downtime caused by > a disk failure. Do I really need to write such obviousness ? Call it > "mission critical" if you like. > >> As I have said previously, swap mirroring can be plausible for a

Re: making more room in root partition for distribution upgrade

2018-05-22 Thread Pascal Hambourg
Le 22/05/2018 à 20:55, Abdullah Ramazanoğlu a écrit : On Tue, 22 May 2018 20:29:21 +0200 Pascal Hambourg said: I understand that your use case does not require swap redundancy. I hope that you also understand that other people may have stronger requirements, For example? Any operational

Re: making more room in root partition for distribution upgrade

2018-05-22 Thread Richard Hector
On 23/05/18 06:29, Pascal Hambourg wrote: > I understand that your use case does not require swap redundancy. > I hope that you also understand that other people may have stronger > requirements and your statement about swap mirroring was wrong for them, > thus wrong in general (what is not always

Re: making more room in root partition for distribution upgrade

2018-05-22 Thread Pascal Hambourg
Le 22/05/2018 à 00:12, Abdullah Ramazanoğlu a écrit : On Mon, 21 May 2018 23:18:50 +0200 Pascal Hambourg said: Le 21/05/2018 à 22:09, Abdullah Ramazanoğlu a écrit : I would agree mirroring swap for a mission critical server. Otherwise it would be an overkill, IMO. If one of the non-mirrored

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Pascal Hambourg
Le 21/05/2018 à 22:09, Abdullah Ramazanoğlu a écrit : On Mon, 21 May 2018 21:48:33 +0200 Pascal Hambourg said: The purpose of RAID 1 is to provide redundancy and availability, not performance. What do you think happens to a running system when one half of the swap suddenly becomes unavailable

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Pascal Hambourg
Le 21/05/2018 à 21:03, Abdullah Ramazanoğlu a écrit : Forgot to add that in a raid-1 setup swap partition*s* should not be mirrored. Of course they should be mirrored in RAID 1 too. Otherwise it defeats the purpose of RAID 1. There should be 2 separate non-mirrored swap partitions, one on

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Pascal Hambourg
Le 21/05/2018 à 18:52, Mark Copper a écrit : The release notes even give detailed instructions as to how you might mount bind (or is bind mount?) a usb key as a temporary /var/cache/apt/archives directory. That's an intriguing idea. I'll look. Thanks. There is plenty of free space in

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Pascal Hambourg
Le 21/05/2018 à 18:14, Mark Copper a écrit : On Sun, May 20, 2018 at 3:19 AM, Pascal Hambourg wrote: Le 18/05/2018 à 02:05, Mark Copper a écrit : You will have to move/delete and re-create the swap too. Gparted allows to resize and move an unused partition. Better have

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Mark Copper
> > The release notes even give detailed instructions as to how you might mount > bind (or is bind mount?) a usb key as a temporary /var/cache/apt/archives > directory. > That's an intriguing idea. I'll look. Thanks.

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Curt
On 2018-05-21, Mark Copper wrote: > > No, I had not considered playing with any part of /var. With /var > taking less than 1 gb and /var/cache/apt/archives less than 1mb, /usr > had seemed the elephant in the room. Might that be a way to go? I just > need to get to Stretch

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Mark Copper
On Sun, May 20, 2018 at 3:19 AM, Pascal Hambourg wrote: > Le 18/05/2018 à 02:05, Mark Copper a écrit : >>> >>> There was a day when a 10 gb partition seemed like plenty of space to leave for the system but now it's not. An upgrade to Stretch appears to need

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread David Wright
On Mon 21 May 2018 at 05:50:27 (+), Andy Smith wrote: > Hello, > > On Sun, May 20, 2018 at 07:59:48PM -0400, songbird wrote: > > Pascal Hambourg wrote: > > > Then LVM is your friend. You can create as many logical volumes as you > > > like with minimal sizes and easily extend them when

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread David Baron
Yep. I ended up buying a second disk and moving everything around. The installation is awful. On Mon, May 21, 2018, 3:13 PM Pascal Hambourg wrote: > Le 21/05/2018 à 10:26, Curt a écrit : > > > > Verily in the installer I chose automatic partitioning because of my > >

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Pascal Hambourg
Le 21/05/2018 à 10:26, Curt a écrit : Verily in the installer I chose automatic partitioning because of my partitioning phobia many moons ago and was allotted a 9G '/' and a 1.4T 'home' (as well as swap the size of my ego) (...) (A recent thread seemed to imply that the installer's

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Joe
On Mon, 21 May 2018 08:26:01 + (UTC) Curt wrote: > On 2018-05-21, Andy Smith wrote: > > Hello, > > > > On Sun, May 20, 2018 at 07:59:48PM -0400, songbird wrote: > >> Pascal Hambourg wrote: > >> > Then LVM is your friend. You can create as many logical

Re: making more room in root partition for distribution upgrade

2018-05-21 Thread Curt
On 2018-05-21, Andy Smith wrote: > Hello, > > On Sun, May 20, 2018 at 07:59:48PM -0400, songbird wrote: >> Pascal Hambourg wrote: >> > Then LVM is your friend. You can create as many logical volumes as you >> > like with minimal sizes and easily extend them when needed. This

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Andy Smith
Hello, On Sun, May 20, 2018 at 07:59:48PM -0400, songbird wrote: > Pascal Hambourg wrote: > > Then LVM is your friend. You can create as many logical volumes as you > > like with minimal sizes and easily extend them when needed. This way you > > don't waste space in overprovisioning. > >

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Richard Hector
On 21/05/18 02:19, Abdullah Ramazanoğlu wrote: > LVM greatly simplifies the partitioning part of the chore. But you still need > to do the content management part[*] before shrinking / after enlarging an LV, > don't you? > > [*] backup, umount/swapoff, resize2fs/mkswap, mount/swapon, (unlikely

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread songbird
Pascal Hambourg wrote: > Le 20/05/2018 à 14:33, songbird a écrit : >> >>in my last system i had many different partitions like that but >> with the new system i decided that was wasting too much space and > > Then LVM is your friend. You can create as many logical volumes as you > like with

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Pascal Hambourg
Le 20/05/2018 à 21:34, Reco a écrit : On Sun, May 20, 2018 at 08:48:05PM +0200, Pascal Hambourg wrote: Le 20/05/2018 à 17:23, Reco a écrit : On Sun, May 20, 2018 at 10:30:26AM -0400, Stefan Monnier wrote: lvextend --resizefs ... will work without you needing to unmount the

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Reco
On Sun, May 20, 2018 at 08:48:05PM +0200, Pascal Hambourg wrote: > Le 20/05/2018 à 17:23, Reco a écrit : > > > > On Sun, May 20, 2018 at 10:30:26AM -0400, Stefan Monnier wrote: > > > > > > lvextend --resizefs ... > > > > > > will work without you needing to unmount the file-system. > > >

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Pascal Hambourg
Le 20/05/2018 à 17:23, Reco a écrit : On Sun, May 20, 2018 at 10:30:26AM -0400, Stefan Monnier wrote: lvextend --resizefs ... will work without you needing to unmount the file-system. You forgot to add 'unless you try to shrink the filesystem, or still use reiserfs'. Or use btrfs

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Pascal Hambourg
Le 20/05/2018 à 16:19, Abdullah Ramazanoğlu a écrit : On Sun, 20 May 2018 15:03:37 +0200 Pascal Hambourg said: Le 20/05/2018 à 14:33, songbird a écrit : in my last system i had many different partitions like that but with the new system i decided that was wasting too much space and Then LVM

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Reco
Hi. On Sun, May 20, 2018 at 10:30:26AM -0400, Stefan Monnier wrote: > > [*] backup, umount/swapoff, resize2fs/mkswap, mount/swapon, (unlikely but > > possibly: restore) > > lvextend --resizefs ... > > will work without you needing to unmount the file-system. You forgot to add

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Stefan Monnier
> [*] backup, umount/swapoff, resize2fs/mkswap, mount/swapon, (unlikely but > possibly: restore) lvextend --resizefs ... will work without you needing to unmount the file-system. Stefan

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Abdullah Ramazanoğlu
On Sun, 20 May 2018 15:03:37 +0200 Pascal Hambourg said: > Le 20/05/2018 à 14:33, songbird a écrit : >> >>in my last system i had many different partitions like that but >> with the new system i decided that was wasting too much space and > > Then LVM is your friend. You can create as many

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Pascal Hambourg
Le 20/05/2018 à 14:33, songbird a écrit : in my last system i had many different partitions like that but with the new system i decided that was wasting too much space and Then LVM is your friend. You can create as many logical volumes as you like with minimal sizes and easily extend them

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread songbird
Charlie S wrote: > On Sat, 19 May 2018 09:16:43 -0500 ntrfug sent: > >> More than 20 years ago I began saving personal files to a different >> partition than the OS. >> >> I've used this system for Windows (when I started) and for more >> flavors of Linux than I can remember. I did this so I

Re: making more room in root partition for distribution upgrade

2018-05-20 Thread Pascal Hambourg
Le 18/05/2018 à 02:05, Mark Copper a écrit : There was a day when a 10 gb partition seemed like plenty of space to leave for the system but now it's not. An upgrade to Stretch appears to need more. How do you know ? Device BootStart End Sectors Size Id Type /dev/sda1 *

Re: making more room in root partition for distribution upgrade

2018-05-19 Thread Charlie S
On Sat, 19 May 2018 09:16:43 -0500 ntrfug sent: > More than 20 years ago I began saving personal files to a different > partition than the OS. > > I've used this system for Windows (when I started) and for more > flavors of Linux than I can remember. I did this so I could wipe the > root

Re: making more room in root partition for distribution upgrade

2018-05-19 Thread ntrfug
On Thu, 17 May 2018 18:06:46 -0500 Mark Copper wrote: > This must be a FAQ. But there appear to be two ways forward. > > 1. Back-up /home, enlarge / partition, copy back-up back to new, > smaller /home partition (because /home will then start on a different > cylinder so

Re: making more room in root partition for distribution upgrade

2018-05-18 Thread Andy Smith
Hello, On Fri, May 18, 2018 at 04:00:45AM -0700, Rick Thomas wrote: > Contrary to Andy’s recommendation, though, I would also > put swap on LVM — if only just to simplify things when I do find > myself needing to adjust it Well, OK. But… Should I need more swap then I don't really find adding

Re: making more room in root partition for distribution upgrade

2018-05-18 Thread Rick Thomas
On May 17, 2018, at 6:19 PM, Andy Smith wrote: > If using multiple partitions per disk, consider using LVM in future > as otherwise this sort of thing nearly always becomes a chore. I strongly second the recommendation to use LVM wherever possible. It greatly simplifies

Re: making more room in root partition for distribution upgrade

2018-05-17 Thread Felix Miata
Mark Copper composed on 2018-05-17 18:06 (UTC-0500): > There was a day when a 10 gb partition seemed like plenty of space to leave > for the system but now it's not. An upgrade to Stretch appears to need more. ... > What have other people done? My largest Stretch root partition is 5.6GB. One or

Re: making more room in root partition for distribution upgrade

2018-05-17 Thread Andy Smith
Hi, On Thu, May 17, 2018 at 06:06:46PM -0500, Mark Copper wrote: [sda1 root partition got too small; extended partition on sda2 fills remainder of disk] > This must be a FAQ. But there appear to be two ways forward. > > 1. Back-up /home, enlarge / partition, copy back-up back to new, smaller >

Re: making more room in root partition for distribution upgrade

2018-05-17 Thread Abdullah Ramazanoğlu
On Thu, 17 May 2018 18:06:46 -0500 Mark Copper said: [ ---8<--- ] > This must be a FAQ. But there appear to be two ways forward. > > 1. Back-up /home, enlarge / partition, copy back-up back to new, smaller > /home partition (because /home will then start on a different cylinder so > data will

Re: making more room in root partition for distribution upgrade

2018-05-17 Thread Mark Copper
On Thu, May 17, 2018 at 6:32 PM, bw wrote: > > > On Thu, 17 May 2018, Mark Copper wrote: > > > There was a day when a 10 gb partition seemed like plenty of space to > leave > > for the system but now it's not. An upgrade to Stretch appears to need > more. > > > > ~# fdisk -l >

making more room in root partition for distribution upgrade

2018-05-17 Thread Mark Copper
There was a day when a 10 gb partition seemed like plenty of space to leave for the system but now it's not. An upgrade to Stretch appears to need more. ~# fdisk -l Disk /dev/sda: 149.1 GiB, 160041885696 bytes, 312581808 sectors Units: sectors of 1 * 512 = 512 bytes Sector size