Archive: September, 2008

Restoring File From UFSdump Backup

Check out this article about Restoring File From UFSdump Backup. Please tell me what you think about it. You can contact me anytime!

Here’s what we did today on one of our Solaris box that is worth mentioning on this cool super system administrator’s blog ‘o mine! (Don’t you find it cool that SysAds are so funny?!)

Anyhoo, today we re-jumpstarted a laboratory box because the ‘owner’ of it wants it back. Since we pretty much messed it up, I have to jumpstarted a fresh copy.

After installing returned the original /etc/shadow and /etc/passwd back from backup (had a backup file on the laptop).. but unfortunately, the /etc/shadow file is ‘null’.

Restoring File From UFSdump Backup

Here’s the procedure in restoring a particular file from ufs dump backup… Of course if you’re restoring from ufs backup you probably made a ufs backup in the first place, right? Right!

In this example, the files backup.examples and junk are restored from the pubs directory:

Continue reading »

Building ZFS Mirrored File System Example

Check out this article about Building ZFS Mirrored File System Example. Please tell me what you think about it. You can contact me anytime!

I’ve writted something about the Zeta file system before… It’s like some sort of an intro to the filesystem.

This post will be the first of series of post in configuring ZFS on a test machine, a Sun-Fire-V240 running Solaris 10.

# uname -a
SunOS sedm3205 5.10 Generic_137111-04 sun4u sparc SUNW,Sun-Fire-V240

Anyhow, first topic will be how to create/build, test, destroy and recreate a mirrored ZFS disk (or file based). Most of the ZFS commands we’ll be using are:

  • zpool
  • zcreate

That’s it!

Creating the ZFS Mirror

We’ll create two kinds of mirrored partition, one is file based and the other was is physical 175GB disk.

Continue reading »

Watch-Net and Watch-Net-All Diagnostics

Check out this article about Watch-Net and Watch-Net-All Diagnostics. Please tell me what you think about it. You can contact me anytime!

This is the first post regarding the On-site training to make MNL SAs up to speed to support the company’s production servers.

This week’s topic… building the server through Jumpstarting (yeah, solaris sparc servers).

Watch-Net and Watch-Net-All Diagnostics

The watch-net and watch-net-all diagnostics monitor Ethernet packets on the Ethernet interfaces connected to the system. Good packets received by the system are indicated by a period (.). Errors such as the framing error and the cyclic redundancy check (CRC) error are indicated with an “X” and an associated error description. The watch-net diagnostic is initialized by typing the watch-net command at the ok prompt and the watch-net-all diagnostic is initialized by typing the watch-net-all command at the ok prompt. The following code example identifies the watch-net diagnostic output message. Example 4-3 identifies the watch-net-all diagnostic output message.

ok watch-net
Hme register test --- succeeded.
Internal loopback test -- succeeded.
Transceiver check  -- Using Onboard Transceiver - Link Up.
passed
Using Onboard Transceiver - Link Up.
Looking for Ethernet Packets.
'.' is a Good Packet.  'X' is
a Bad Packet.
Type any key to stop.
..................................................
................................................................
................................................................
........................................................

ok watch-net-all
/pci@1f,0/pci@1,1/network@1,1
Hme register test --- succeeded.
Internal loopback test -- succeeded.
Transceiver check  -- Using Onboard Transceiver - Link Up.
passed
Using Onboard Transceiver - Link Up.
Looking for Ethernet Packets.
'.' is a Good Packet.  'X' is
a Bad Packet.
Type any key to stop.
........
................................................................
................................................................
................................................................
....................................
ok
ok

FireFTP | FireFox | Firefox Download | FireFox Tutorial

Check out this article about FireFTP | FireFox | Firefox Download | FireFox Tutorial. Please tell me what you think about it. You can contact me anytime!

FireFTP is an FTP program that works within the Firefox Web browser. Well, Firefox is not actually a full-pledge program but a Firefox plugin or addon. The best thing about this ftp client is that it’s FREE! (Just like any other open source applications/software).

If you’re not familiar with Firefox, it’s an open source web browser and I suggest you use it right now. Trash that IE and start using Firefox (or Google Chrome – cooler!).

File transfer protocol (FTP) is how we send large files from one computer to another using the Internet — not an e-mail attachment.

Here’s how to install and use FireFTP on Firefox.

Continue reading »