Send Bristol mailing list submissions to
bristol@mailman.lug.org.uk
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.lug.org.uk/mailman/listinfo/bristol
or, via email, send a message with subject or body 'help' to
bristol-request@mailman.lug.org.uk
You can reach the person managing the list at
bristol-owner@mailman.lug.org.uk
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Bristol digest..."
Today's Topics:
1. Boot using an SSD? (Mik Phelps)
2. Re: Boot using an SSD? (David Smith)
3. Re: Boot using an SSD? (Adrian Portway)
4. Re: Pi - SSH apt-get problem (Martin Habets)
5. Re: Boot using an SSD? (Alex Butcher)
6. Re: Boot using an SSD? (Shane McEwan)
7. Re: Boot using an SSD? (David Smith)
----------------------------------------------------------------------
Message: 1
Date: Mon, 02 Feb 2015 12:15:18 +0000
From: Mik Phelps <ha1ry.g1t@mypostoffice.co.uk>
To: bristol@mailman.lug.org.uk
Subject: [bristol] Boot using an SSD?
Message-ID: <54CF6A56.1040600@mypostoffice.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi all
I haven't posted on here for a while but I have been watching things whenever I get a notification
Email.
Please can I ask for advice about having the Linux Boot Sector, plus a couple of other things, on
an SSD drive, since I remember something about this not being necessarily easy but I can't find the
earlier thread(s) on here about this.
First OS to be openSUSE 13.2 64bit, deliberately not a 'bleeding edge' Distro so that it's a bit
more hardened rather than using the very latest versions.
This completed Workstation is for the 'usual' daily office type things, some Electronics and
Loudspeaker Design related CAD plus remote control (GPIB and Serial) of Electronics measurement/test
Instruments on my bench with good results viewing/comparisons amongst other things.
A possible second OS is still to be decided on, but may well be one of the more specialised Linux
'Scientific Distros'.
So this is for a 'new build' PC with an i5-4690 processor, asus B65 Pro Gamer Intel chipset
Motherboard, 32GB DDR3 1333ram, Matrox dual head Graphics Card with two Dell U2412M monitors to
start with,
The Asus MB is because I need all three older type PCI expansion slots and Motherboards with these
type and number of expansion slots are getting really difficult to find!
First Hard disk to be a fast R/W SSD, Samsung 850 EVO 120GB, with '/' type partition for the OS
plus a partition for 'swap', and then hopefully the Boot Sector as well?
Second Hard disk for now , as I might add more for a software RAID setup later, to be a WD, HDD RE4
500Gb, high reliability Server type, with the entire disk to be partitioned for '/Home'.
Which is where my (first?) question arises about the Boot Sector please.
All parts have arrived where it is being assembled and tested together with other necessary bits and
bobs, such as two CD/DVD R/W drives, Etc to be included in this build as well.
This is my last year's 65th Birthday and Christmas present to myself and if it lasts as long as this
22+ year old Evesham Pentium 1 which I'm typing out this Post on, then it will both certainly 'see
me out' plus hopefully will give someone else some pleasure using it after me :-)
Anyway, much like me the Evesham is showing it's age with various things beginning to fail with old age.
Thanks in advance for your valued assistance
yours
Mik
------------------------------
Message: 2
Date: Mon, 2 Feb 2015 12:24:58 +0000
From: David Smith <David.Smith@imgtec.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Boot using an SSD?
Message-ID:
<15A9D35B5490FC49AC0524AE3A085F0888984B@BRMAIL01.br.imgtec.org>
Content-Type: text/plain; charset="us-ascii"
From: bristol-bounces@mailman.lug.org.uk [mailto:bristol-
bounces@mailman.lug.org.uk] On Behalf Of Mik Phelps
> Please can I ask for advice about having the Linux Boot Sector, plus a couple
> of other things, on an SSD drive, since I remember something about this not
> being necessarily easy but I can't find the earlier thread(s) on here about this.
I don't see why it should be difficult - my Asus Eee is SSD-only, and the OS install is/was pretty easy.
------------------------------
Message: 3
Date: Mon, 02 Feb 2015 12:41:13 +0000
From: Adrian Portway <adrian.portway@gmail.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Boot using an SSD?
Message-ID:
<CAAUR1PvXDp-7zWNjCzZJHFR6icTxdaiCe=OCHqMMdx6knNVq-A@mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
I second David's comment. I've been happily installing and booting SSD only
machines ( desktop and server ) for a while without any problems.
On Mon Feb 02 2015 at 12:25:37 David Smith <David.Smith@imgtec.com> wrote:
> From: bristol-bounces@mailman.lug.org.uk [mailto:bristol-
> bounces@mailman.lug.org.uk] On Behalf Of Mik Phelps
> > Please can I ask for advice about having the Linux Boot Sector, plus a
> couple
> > of other things, on an SSD drive, since I remember something about this
> not
> > being necessarily easy but I can't find the earlier thread(s) on here
> about this.
>
> I don't see why it should be difficult - my Asus Eee is SSD-only, and the
> OS install is/was pretty easy.
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.lug.org.uk/mailman/private/bristol/attachments/20150202/90db1fbd/attachment-0001.html>
------------------------------
Message: 4
Date: Mon, 2 Feb 2015 13:14:18 +0000
From: Martin Habets <errandir_news@mph.eclipse.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Pi - SSH apt-get problem
Message-ID: <20150202131418.GB30434@mph.eclipse.co.uk>
Content-Type: text/plain; charset=us-ascii
On Sun, Feb 01, 2015 at 12:29:59AM +0000, Peter Hemmings wrote:
> It was, I ended up removing the relevant files in
> "/var/lib/dpkg/info/" then re-installing them with apt-get install
> XXXXX --reinstall
>
> Also did a "clean" "autoremove" and "update" for good measure but
> maybe that was not necessary. All now OK have motion/camera working
> as well as ssh.
The "clean" will remove those files in /var/lib/dpkg/info/.
Good to see you've got it fixed.
Martin
> >Martin
> >
> >On Sat, Jan 31, 2015 at 05:26:40PM +0000, Peter Hemmings wrote:
> >>Hi,
> >>
> >>I have been playing with a pi "Noir Camera", it works OK on remote
> >>desktop with rdp but am having problems with sshing and getting
> >>apt-get to install programs.
> >>
> >>As this is not my normal distro, could someone help with how to
> >>resolve the errors?:
> >>
> >>
> >>The following packages will be REMOVED:
> >> ssh
> >>0 upgraded, 0 newly installed, 1 to remove and 88 not upgraded.
> >>After this operation, 29.7 kB disk space will be freed.
> >>Do you want to continue [Y/n]? y
> >>dpkg: warning: files list file for package 'lxinput' missing;
> >>assuming package has no files currently installed
> >>dpkg: warning: files list file for package 'python-minimal' missing;
> >>assuming package has no files currently installed
> >>dpkg: unrecoverable fatal error, aborting:
> >> files list file for package 'poppler-utils' is missing final newline
> >>E: Sub-process /usr/bin/dpkg returned an error code (2)
> >>pi@raspberrypi ~ $
> >>
> >>
> >>Thanks
> >>
> >>--
> >>Peter H
> >>
> >>_______________________________________________
> >>Bristol mailing list
> >>Bristol@mailman.lug.org.uk
> >>https://mailman.lug.org.uk/mailman/listinfo/bristol
> >
> >_______________________________________________
> >Bristol mailing list
> >Bristol@mailman.lug.org.uk
> >https://mailman.lug.org.uk/mailman/listinfo/bristol
> >
>
> Regards
> --
> Peter H
>
> _______________________________________________
> Bristol mailing list
> Bristol@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/bristol
------------------------------
Message: 5
Date: Mon, 2 Feb 2015 14:06:07 +0000 (GMT)
From: Alex Butcher <lug@assursys.co.uk>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Boot using an SSD?
Message-ID:
<alpine.LFD.2.11.1502021357080.21723@sbhezbfg.of5.nffheflf.cev>
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed
On Mon, 2 Feb 2015, Mik Phelps wrote:
> Hi all
> I haven't posted on here for a while but I have been watching things whenever
> I get a notification Email.
>
> Please can I ask for advice about having the Linux Boot Sector, plus a
> couple of other things, on an SSD drive, since I remember something about
> this not being necessarily easy but I can't find the earlier thread(s) on
> here about this.
I can't conceive of any problems with that; SSDs just show up as standard
SATA devices. Remember to configure the BIOS to present them as AHCI before
installing your OS (especially Windows), though. Care to elaborate further
on what you'd heard?
[...]
> So this is for a 'new build' PC with an i5-4690 processor, asus B65 Pro Gamer
> Intel chipset Motherboard, 32GB DDR3 1333ram, Matrox dual head Graphics Card
> with two Dell U2412M monitors to start with,
[...]
> First Hard disk to be a fast R/W SSD, Samsung 850 EVO 120GB, with '/' type
> partition for the OS plus a partition for 'swap', and then hopefully the
> Boot Sector as well?
With 32GB of RAM, a) you probably won't need swap and b) you don't want it
on your SSD as the number of writes will age it prematurely.
> Second Hard disk for now , as I might add more for a software RAID setup
> later, to be a WD, HDD RE4 500Gb, high reliability Server type, with the
> entire disk to be partitioned for '/Home'.
WD RAID Edition drives run with Time-Limited Error Recovery enabled by
default, so as to prevent a RAID controller from removing a drive from an
array because of a single failed block causing the drive to perform extended
(>7 seconds) recovery and seeming to the controller to be non-responsive.
TLER relies upon the RAID controller recovering the data from one or more
other drives in the array. If you're only using a single drive, then you
should disable TLER at the very least (but personally, I'd recommend getting
that other drive now and running it in a RAID array as it's designed to be
used).
Also, I'd recommend using LVM and creating a logical volume for /home,
starting at your current /home size plus 10%, say. Then, if you need more
space, extend the logical volume and resize the filesystem. That keeps space
available for other parts of the filesystem should you need it. Partitioning
isn't the most appropriate thing to do with modern, large discs.
> Which is where my (first?) question arises about the Boot Sector please.
What is your question?
> yours
> Mik
HTH,
Alex
------------------------------
Message: 6
Date: Mon, 02 Feb 2015 14:11:09 +0000
From: Shane McEwan <shane@mcewan.id.au>
To: bristol@mailman.lug.org.uk
Subject: Re: [bristol] Boot using an SSD?
Message-ID: <54CF857D.4090209@mcewan.id.au>
Content-Type: text/plain; charset=utf-8
On 02/02/15 12:15, Mik Phelps wrote:
> Hi all
> I haven't posted on here for a while but I have been watching things
> whenever I get a notification Email.
Welcome back!
> Please can I ask for advice about having the Linux Boot Sector, plus a
> couple of other things, on an SSD drive, since I remember something
> about this not being necessarily easy but I can't find the earlier
> thread(s) on here about this.
I can't think of any reason why you couldn't boot of an SSD. BIOS
issues, maybe, but any modern BIOS shouldn't have a problem. I have an
Asus laptop with only SSDs in it and it works fine.
The recommendation is that you turn on TRIM support for wear levelling
of the SSD. You either add the 'discard' option to your SSD mounts in
/etc/fstab (which can slow down file deletes on some SSDs) or add a cron
job that runs 'fstrim' occasionally (daily or weekly).
You should change your IO scheduler to 'noop' or 'deadline' for your SSD
device. The current scheduler is shown in brackets in
'/sys/block/<device>/queue/scheduler' and will probably be 'cfq'. I
don't know SUSE so I'm not sure how to change the scheduler permanently.
Somewhere in 'udev' I suspect. There should be tuning guides for SUSE on
the Internet somewhere.
> First Hard disk to be a fast R/W SSD, Samsung 850 EVO 120GB, with '/'
> type partition for the OS plus a partition for 'swap', and then
> hopefully the Boot Sector as well?
I'm inclined to recommend not bothering with swap. With 32GB of RAM
you're unlikely to start swapping unless you've got some seriously big
software running. The issue with swap on SSDs is that if you do start
swapping you're going to be doing a lot of writes to the SSD which
reduces the life of it. The reality is that modern SSDs are actually
very reliable and last a long time but if you really intend your PC to
last 22 years then you're gonna have to watch your writes to the SSD!
Also, the rule of thumb is to add as much swap as RAM but 32GB is a fair
chunk of your SSD. Do you really want to waste that space just for the
unlikely event of running out of RAM? If you really want swap on your
SSD then I'd recommend turning 'swappiness' down to a low value like
'1'. That will stop the kernel swapping out memory unless you're close
to running out.
Have fun with your new toy!
Shane.
------------------------------
Message: 7
Date: Mon, 2 Feb 2015 14:20:32 +0000
From: David Smith <David.Smith@imgtec.com>
To: Bristol and Bath Linux User Group <bristol@mailman.lug.org.uk>
Subject: Re: [bristol] Boot using an SSD?
Message-ID:
<15A9D35B5490FC49AC0524AE3A085F088898BC@BRMAIL01.br.imgtec.org>
Content-Type: text/plain; charset="us-ascii"
> From: bristol-bounces@mailman.lug.org.uk [mailto:bristol-
> bounces@mailman.lug.org.uk] On Behalf Of Shane McEwan
> I'm inclined to recommend not bothering with swap. With 32GB of RAM
> you're unlikely to start swapping unless you've got some seriously big
> software running. The issue with swap on SSDs is that if you do start
> swapping you're going to be doing a lot of writes to the SSD which reduces
> the life of it. The reality is that modern SSDs are actually very reliable and last
> a long time but if you really intend your PC to last 22 years then you're gonna
> have to watch your writes to the SSD!
Or stick the swap on the HDD. If you're trying to optimise the speed of the PC by putting the swap on SSD rather than HDD then you're trying the solve the wrong problem...
------------------------------
_______________________________________________
Bristol mailing list
Bristol@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/bristol
End of Bristol Digest, Vol 588, Issue 2
***************************************
Tidak ada komentar:
Posting Komentar