Uncategorized
Solaris script to scan FiberChannel bus for new LUN
Here is a script that I use to re-scan the FiberChannel bus for new or removed volumes on Solaris 10. WARNING!: This script works for me, but use it at your own risk! Make sure you look through the script and make sure it doesn’t do anything that would be unusual on your system. I …
Solaris script to scan FiberChannel bus for new LUN Read More »
How to Upgrade IBM Power server firmware fixes through AIX or Linux without an HMC
Installing server firmware fixes through the operating system is a disruptive process. You will need to restart the system. Notes: If your system is managed by an HMC, you must apply server firmware through the HMC. For details, see Managed system updates in Updates. If you have a System i® model running IBM® i, you …
How to Upgrade IBM Power server firmware fixes through AIX or Linux without an HMC Read More »
Linux httpd service not start
[root@sunx4150 run]# ps -ef | grep http root 7222 6826 0 10:32 pts/1 00:00:00 grep http [root@sunx4150 run]# pwd /etc/httpd/run [root@sunx4150 run]# ls acpid.socket dirmngr hpssd.pid mdadm nscd radvd sshd.pid vmnet-dhcpd-vmnet8.pid xenstored agent.pid dovecot hpssd.port mdmpd ntpd.pid rpc.statd.pid sudo vmnet-natd-8.mac xfs.pid atd.pid dsviewserver.pid httpd.pid messagebus.pid openldap saslauthd syslogd.pid vmnet-natd-8.pid xinetd.pid avahi-daemon gather iiim mysqld ppp …
Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!
Add a RAM File System in Aix
Create a RAM disk of 10 MB # mkramdisk 10M /dev/rramdisk0 Create a JFS File System on this RAM disk # mkfs -V jfs /dev/rramdisk0 mkfs:destroy /dev/rramdisk0 (yes) ? y Create Mountpoint # mkdir /ramdisk Mount RAM File System # mount -V jfs -o nointegrity /dev/ramdisk0 /ramdisk The purpose of the mkramdisk command is to …
Journaled file systems structure
Superblock : File System size and indentification, Free list, fragment size, nbpi. Inodes: File size, ownership, permissions, pointers to data blocks. Blocks: Data blocks contain data and Indirect block contain pointers to data blocks. Journaled file systems are built within logical volumes. Because journaled file systems exist within logical volumes, the size of …
Find and remove Files in Unix older than the specified number of days
For finding the files older than 31 days find . -name “filename.ext” -mtime +no_of_days -exec ls -ltr {} ; e.g find . -name “*req” -mtime +31 -exec ls -ltr {} ; Verify the timestamp of all the files.They must be older than 5 weeks For Deleting files older that 31 days : find . …
Find and remove Files in Unix older than the specified number of days Read More »
Linux: iSCSI Initiator installation & configration
Installation Instructions: Red Hat Supplied iSCSI Initiator: Find the RPM on the Red Hat Media, then install it using the rpm –ivh command as follows: # rpm –ivh iscsi-initiator-utils-6.2.0.742-0.5.el5 NOTE: This is the version for Enterprise Linux AS 5. Your version may be different. An alternative to installing this package manually in Red Hat Enterprise …
Linux: iSCSI Initiator installation & configration Read More »
Solaris: Steps to install a zone
Prerequisites to configuration create a directory for the root of your non-global zone, mkdir /export/zones/dzone1. chown root:root /export/zones/dzone1; chmod 700 /export/zones/dzone1 create a 1G partition for the non-global zone root file system add filesystems to any volumes you have created from steps above mount your additional space for the root of your new zone (add …