APLawrence.com -  Resources for Unix and Linux Systems, Bloggers and the self-employed

External SATA drives

Will SATA drives replace SCSI? Possibly. In theory, at least, multiple SATA disks have higher throughput than multiple SCSI drives because they aren't sharing a bus until they get back to the PCI card that's driving them. There's a discussion of SATA RAID over at Tom's Hardware that covers that. SATA can also be less expensive, as http://www.tomshardware.com/storage/20030501/wd360-01.html suggests.

Title Last Comment
Another SCO 5.0.7 crash  
- Another SCO 5.0.7 crash tests my memory - it was taxing, but we got through it. A decade ago or more that would have been something I could fix while half awake, but now my memory of SCO Unix has truly faded. -

How to trouble-shoot file corruption  
- If you don't have the space, you have to take running snapshots with fuser or lsof- that may not satisfy a very stubborn vendor who is convinced that *their* programs never screw up. -

Why defragging your computer may be a waste of time   2012/12/03 BigDumbDinosaur
- In fact, defragmenting may be a total waste of time. It's unlikely to be harmful (though it can be if interrupted by a sudden power failure), but it may actually accomplish nothing worth even the minor effort it takes to run it. -

Why does fsck need a scratch file?   2011/06/02 KenPorter
- Although fsck hasn't needed scratch files for a while, large disks are reopening that need. -

Tips on Hard Drive Problems   2011/03/02 BigDumbDinosaur
- Back in the 1980's, I could count on earning a few hundred dollars every month from hard disk failures. -

Freeing disk space with >  
- I wrote this up after a forum discussion in which several posters didn't really understand why '>' can free disk space when 'rm' cannot. -

Why defrag Windows XP Desktops?  
- Almost everybody thinks defragging XP is necessary - but is it? -

Degragmentation wars  
- The subject of disk fragmentation will almost always draw heated arguments but seldom gets treated in its entirety. -

Partitioning for Linux  
- This article discusses some of the things to consider when planning the partitioning of a Linux system. -

Empty the Trash   2010/06/05 TonyLawrence
- Should I empty the trash? I put the stuff there. Why would I put it there if I still wanted it? Just empty the damn thing. -

Invalidating the Linux buffer cache   2012/08/01 SimonL
- How to actually test the disk drive to know that data really has gotten to the disk drive. This could be because you want to test the performance of the drive, but could also be when you suspect a drive is malfunctioning: if you just write and read back, you'll be reading from cache, not from actual disk platters. -

Microlite BTLD  
- Will these ancient SCO systems ever go away? Yes, they will, but more than a few are still hanging around, so I still get involved with them. -

Hi-Ho Silver - Away!  
- I think it's important to establish who's in charge right away: sometimes foolish folks think they are, but that's so very wrong.. -

Copying Mac Resource Forks with Perl  
- We have the problem that if we move a Mac executable to our Linux web server, we lose the resource fork unless we use Stuffit first. -

Backing up Windows machines using rsync and ssh  
- Rsync and SSh aren't just for Unix and Linux: Windows and Mac can use these to backup data. -

Union Mounts  
- Imagine you have a directory with files in it, and you then mount some device on that directory. Ordinarily, the original files would no longer be available, but a union mount leaves them visible: you can see both the files from the device you mounted and the files that were originally in the directory you mounted it on. -

HFS+ file system  
- You can force the install to use UFS, but you'll miss out on many features. The thing I don't like about HFS+ is its attitude toward case in file names. -

Terabyte, tebibye  
- Terabyte storage is getting very close to 'good enough' -

Maximum size of a directory   2009/12/15 anonymous
- Maximum size of a directory - But there are limits to directories, of course. For one thing, a directory is a file like any other file, and therefore is limited in size by whatever restraints the file system puts upon it. It probably has some minimum space for the name part of its entry, and a fixed space for the inode part, so you couldn't possibly have more entries than could fit in the maximum file size. -

LOD Communications, Inc.
AoE (ATA over Ethernet) distributed storage  
- 2005/05/29 AoE (ATA over Ethernet) distributed storage -

- As an inquiry tool, sfdisk has advantages over fdisk -

captive: Tech Words the Day  
- He uses the Linux read-only NTFS driver to go mucking through the drive looking for the real Windows driver, which he then runs in an emulator - impressive! -

The dark side of NTFS and Alternative Data Streams.  
- This has lead to the perverse situation were you can actually store programs and files inside other file's ADS's and the end user has no way to know that they exist. -

scsidev: SCSI utility for linux  
- I recently built an external SCSI enclosure, using an old tower. I used 3 SCSI drives, and built a LVM, so I could concatenate the drives together into one large drive, to host my temporary video scratch files. -

Speed of IOMEGA REV with Microlite BackupEDGE  
- Blog # 1231 Speed of IOMEGA REV with MicroliteBackupEDGE -

Interesting thread (ls vs. ls -l) - lessons for newsgroups  
- ls vs. ls -l - Why did "ls" work but "ls -l" hung and froze? There are a lot of bad guesses and poor troubleshooting techniques to be seen in the thread. -

Ejector for OSX  
- This is a handy little utility for OSX. It adds an "Eject" button on the menubar, for quick access to ejecting volumes. -

External SATA drives  
- In theory, at least, multiple SATA disks have higher throughput than multiple SCSI drives because they aren't sharing a bus. -

unionfs: Tech Words the Day  
- If you then mount some device on that directory, ordinarily, the original files would no longer be available, but a union mount leaves them visible. -

Waiting too long to upgrade  
- By delaying the upgrade beyond a safe time, we got into a mess of old hardware and old software. -

Another RAID failure  
- Sometimes the worst part of a raid failure can be working with people. The hardware and software usually makes sense; people may not. -

Rebuilding failed Linux software RAID   2011/10/26 kuntergunt
- Rebuild crashed Linux raid. Recently I had a hard drive fail. It was part of a Linux software RAID 1 (mirrored drives), so we lost no data, and just needed to replace hardware. However, the raid does requires rebuilding. A hardware array would usually automatically rebuild upon drive replacement, but this needed some help. -

IOMEGA REV Drive with Fedora Core 2  
- Unfortunately, that was a system I wanted to use the REV on. -

acl: Tech Words the Day  
- Access Control List. Basically, extended permissions. Some modern Unixes (Linux, UW, and others) have extended the permissions model. This requires new commands beyond chmod, and may be limited to certain types of filesystems. -

Reiser4 Filesystem  
- Reiser4 Filesystem was once poised to replace ext2, but most vendors turned to ext3 instead. -

amird driver, BDFLUSH and NAUTOUP, and more  
- New, very fast RAID controller, burt the customer say it is slower! Why? BDFLUSH and NAUTOUP are the culprints. -

Mounting Xenix Filesystem with Linux  
- It's 2004, folks. Yet here we have someone trying to mount a Xenix filesystem. Well, mounting SCO filesystems under Linux isn't easy. -

Creating ext3 file systems  
- The ext3 filesystem is a journaled file system that is compatible with ext2 (an ext3 filesystem can be mounted as ext2 if necessary).0 -

Replacing hard drive  
- This poster wants to replace a SCO OSR5 secondary scsi drive with a larger version -

Misunderstanding partitions and divisions  
- Misunderstanding partitions and divisions. Linux systems usually break hard drives up into multiple FDISK partitions, each of which will be a file system, SCO does it quite differently. -

Using File and Settings Transfer Wizard as Windows backup  
- Blog # 934 Using File and Settings Transfer Wizard asWindows backup -

Using clri to reset an inode problem  
- This is an interesting post about someone who had a directory entry pointing at an unallocated inode. Usually those things get fixed by the system itself when it reboots -

Large USB drives  
- Where did these come from? I guess I've been sleeping too much again, because this caught me by surprise: 4GB USb 2.0 Pen Drive Flash Drive. The pricing doesn't thrill me, but the idea sure does. -

SCSI: An Old Dog That Keeps Learning New Tricks  
- SCSI's ancestor, Shugart Associates System Interface, was publicly disclosed by Dr. Alan Shugart in 1979 in hopes of being accepted as an industry standard. -

Transfer SCO Acucobol to Linux  
- The customer also told me that everything was written in Acucobol, and that he had source code too, and he had already bought Acucobol run-time for Linux -

- The idea here is that RAM is tremendously faster than hard drives, so putting heavily accessed files into a ramdisk (a disk created in ram that looks like an ordinary disk drive to the OS) will be faster. In some cases, it may be. -

- Random data in drive sectors. This is data beyond the actual data of a file. 'Ram slack' is used to fill the unused portion of the last sector of a file, and 'drive slack' is whatever is in any unused sectors of the last cluster. -

Replacing SCO 5.05 older machine with new server   2012/11/27 thelastSCOzombiedealerinamerica
- Sooner or later, you will be faced with having to replace a failed SCO Unix server or updating to a newer server. -

- If referring to a hard disk, this is files having data that isn't in contiguous areas of the drive. While that's not necessarily the best situation, neither is it always something you need to be concerned about. -

Monitoring file or directory changes   2013/02/01 anonymous
- Many modern systems provide a way to watch a directory for events but sometimes brute force or trickery is still needed. -

- A Disk block, block of code, or blocking a program or process from proceeding. The size of a disk block can cause confusion: 'du' historically returned 512 byte blocks, as did 'df', but now either or both may report 1024 byte blocks. -

- The computer use of this is from the mathematical sense of the correspondence of sets. You 'map a drive' when you assign a drive letter to it (Windows). Perl has a 'map' command that is often used for transferring one array to another with changes. -

- File System Check. It's what the Unix world uses to put the file system right in the even of a crash. Windows has the same thing, they just don't call it fsck. But power off any Windows machine without shutting down properly and you'll see it run. -

RIP:A System Recovery Boot CD   2015/04/05 TonyLawrence
- RIP:A System Recovery Boot CD. Since most people have to deal with Windows systems, there has to be a way to get at these systems when things go awry. I used to carry around a slew of boot floppies, and CD's from site to site, if someone was having trouble booting the system, after messing with a system file -

Apple iPod  
- The box that the iPod is packaged in gets a lot of comment in other reviews. Apparently somebody put a lot of effort into the design, and some people think it is tres cool and all that. I thought it was a tremendous waste of space, hard to open, and made it difficult to tell if I had truly found everything I was supposed to have. Ayup, that's me, grumpy as usual. -

Granite Digital SMARTVue for Mac OS X  
- This is a review of a product whose functionality is now included in OS X and is only left here for historical purposes. -

Linux|Unix Logical Volume Manager (LVM) on Software RAID   2011/01/07 TonyLawrence
- Logical Volume Manager is now included with most Linux distributions. The RedHat 8.0 installer even allows you to create LVM volumes during initial install. LVM offers capabilities previously only found in expensive products like Veritas. If you plan on using LVM, I really recommend doing so on a RAID system, either hardware or software -

AIX Secure Image Installation Procedures  
- NOTE: Screenshots are from an ASCII installation of AIX 5.1 using Windows HyperTerminal. -

Software Mirroring on RedHat 8.0  
- I installed RedHat 8.0 on a spare machine here to see how the software raid works. I have always used hardware raid in the past, but various internet articles and posts convinced me that Linux software raid wasn't a Bad Thing. I do think I still prefer hardware raid, though. BTW, always remember that raid is no substitute for regular and reliable backup! -

More Disks/Filesystems articles