<div dir="ltr"><div>Atlanta Vintage Computer Festival is this weekend. ( <a href="https://atlhcs.org/">https://atlhcs.org/</a> ).<br><br></div>-- CHS<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Apr 23, 2017 at 4:45 PM, Alex Carver <span dir="ltr"><<a href="mailto:agcarver+ale@acarver.net" target="_blank">agcarver+ale@acarver.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In this case the old drive was MSDOS partition with 512b blocks so it's<br>
not 4k aligned. The file system itself is ext2. When I imaged the old<br>
drive with ddrescue, I pulled the entire drive in so I'd have the boot<br>
sector and the primary partition (there was only two partitions on the<br>
original drive and one was swap). I killed off the swap partition then<br>
stretched out the main partition a bit to accommodate the contents of a<br>
second drive that was installed (single partition as well). I was more<br>
concerned about the block erasing during TRIM in the SSD with unaligned<br>
sectors.<br>
<br>
It's mainly used as the network syslog server to record all the logs<br>
from various network devices (cameras, phones, etc.), some data logging<br>
from remote sensors (database), plus I do some internal web applications<br>
with it. Not really heavy usage.<br>
<br>
I've got plenty of old machines floating around with 5.25 floppies or<br>
other storage media. :) In rough order of age of all my functional<br>
machines:<br>
<br>
Timex Sinclair (tape drive from a TRS-80 is floating around though the<br>
TRS-80 is no longer here)<br>
[Used to have a NorthStar branded CP/M machine with hard-sector 5.25<br>
floppies and integrated green screen -- I taught myself dBase III on it<br>
and cataloged all my electronic parts with it. It's long gone but it<br>
was functional]<br>
Emerson branded 80286 (this became a modem server though it needs fixing up)<br>
NeXT slab<br>
2x Sun IPXes with external enclosures (one of them is my network GPS clock)<br>
Unbranded (from parts) 386DX with 387 coproc<br>
Packard Bell branded 486SX (now with a 486DX2/66 chip)<br>
Unbranded Pentium II 266 (for experiments)<br>
4x Sun Enterprise 220Rs with dual UltraSPARC II processors (lots of<br>
experiments)<br>
1x Sun SparcStation 20 (RAID server using 2 Sun A1000 arrays)<br>
Unbranded AMD K6 (the topic of conversation)<br>
Toshiba Satellite 1900 series laptop<br>
Averatec laptop<br>
Unbranded Pentium 4 (previous desktop)<br>
3x Raspberry Pi B+<br>
Unbranded Core i7-3770 Ivy Bridge (current desktop)<br>
<div class="HOEnZb"><div class="h5"><br>
On 2017-04-23 13:10, DJ-Pfulio wrote:<br>
> I don't think alignment matters on SSDs. They are so fast.<br>
><br>
> I've done this with gparted, but always made a full partition backup<br>
> using fsarchiver first. Didn't need the backup, but ... I'm pretty<br>
> experienced with the tools.<br>
><br>
> Also, the underlying file system matters. XFS/btrfs seem to have the<br>
> most issues. EXT3/4 seem to be well supported for things like this. IMHO.<br>
><br>
> gparted and parted have always handled alignment issues. I heard that<br>
> fdisk started sometime after they added GPT support (whenever that was).<br>
> I've never used gdisks after seeing all the problems people had with it.<br>
> Heard that fdisk is safe on GPT again, for the latest distros.<br>
><br>
> I have a K2/200 around here somewhere. Keep it for the 5.25in floppy.<br>
> Never know when that will be needed again. That machine also has an<br>
> Adaptec 2940u SCSI card. ;)<br>
><br>
> On 04/23/2017 02:56 PM, Alex Carver wrote:<br>
>> True, I just wondered if there was a way given that parted/resize2fs<br>
>> both worked pretty well with data on a partition (I ddrescue'd the old<br>
>> drive to the SSD then grew the partition).<br>
>><br>
>> However, after running a couple I/O tests on the drive I'm not going to<br>
>> bother with the realignment. I'm getting read speeds of about 160<br>
>> MB/sec and write speeds of 116 MB/sec. Given the age of the machine<br>
>> that's pretty good (AMD K6 with a PCI SATA card and SATA SSD to replace<br>
>> the on-board IDE and old Maxtor drives)<br>
>><br>
>> On 2017-04-23 05:04, Jim Kinney wrote:<br>
>>> I would not consider realignment safe with data on the sectors that are soon to<br>
>>> be outside the partition.<br>
>>><br>
>>> On Apr 23, 2017 2:00 AM, "Alex Carver" <<a href="mailto:agcarver%2Bale@acarver.net">agcarver+ale@acarver.net</a><br>
>>> <mailto:<a href="mailto:agcarver%252Bale@acarver.net">agcarver%2Bale@<wbr>acarver.net</a>>> wrote:<br>
>>><br>
>>> Just swapped out a spinning drive for an SSD but I probably need to<br>
>>> realign the partitions. Currently everything is in one partition at the<br>
>>> start of the disk but it's on sector 63. I can pop the disk out and<br>
>>> plug it into another machine to do this but I'd like to slide the<br>
>>> partition over to the right spot (assuming this doesn't affect the boot<br>
>>> process). I haven't found a way to do this as nearly every page I find<br>
>>> talks about having parted align new partitions but not those that have data.<br>
> ______________________________<wbr>_________________<br>
> Ale mailing list<br>
> <a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
> <a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo/ale</a><br>
> See JOBS, ANNOUNCE and SCHOOLS lists at<br>
> <a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo</a><br>
><br>
<br>
______________________________<wbr>_________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" rel="noreferrer" target="_blank">http://mail.ale.org/mailman/<wbr>listinfo</a><br>
</div></div></blockquote></div><br></div>