<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linux basic administration in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/linux-basic-administration/m-p/4022399#M28825</link>
    <description>Thanks for the post. I have not understood the follwing part in device discovery...&lt;BR /&gt;&lt;BR /&gt;echo "1" &amp;gt; /sys/class/fc_host/hostXYZ/issue_lip&lt;BR /&gt;echo "- - -" &amp;gt; /sys/class/scsi_host/hostXYZ/scan&lt;BR /&gt;&lt;BR /&gt;what host xyz stands for ?</description>
    <pubDate>Mon, 18 Jun 2007 17:47:09 GMT</pubDate>
    <dc:creator>dasn</dc:creator>
    <dc:date>2007-06-18T17:47:09Z</dc:date>
    <item>
      <title>Linux basic administration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-basic-administration/m-p/4022397#M28823</link>
      <description>Hi Guys,&lt;BR /&gt;This is my first post in Linux forum. Also I am new with Linux enviornment. I have a few basic questions regarding configuring my linux. &lt;BR /&gt;&lt;BR /&gt;How do i detect what HBA is installed in my Linux host and see its firmware and stuf? I mean from command line?&lt;BR /&gt;&lt;BR /&gt;How do i discover all the Hardware and Storage disks that are connected to my system? Again from command line. &lt;BR /&gt;&lt;BR /&gt;How do i format and partition the disk using linux command ?&lt;BR /&gt;&lt;BR /&gt;Also whats the command to see gateway configured in my system ?&lt;BR /&gt;&lt;BR /&gt;Any document explaining Linux administration will be of much help to me.  &lt;BR /&gt;&lt;BR /&gt;Thanks in advance for all the answers.</description>
      <pubDate>Mon, 18 Jun 2007 17:23:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-basic-administration/m-p/4022397#M28823</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-06-18T17:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Linux basic administration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-basic-administration/m-p/4022398#M28824</link>
      <description>1- Normally you use a utility privided by the HBA vendor, for example, qlogic provides SanSurfer.&lt;BR /&gt;&lt;BR /&gt;2- You can resiscover devices in several ways, see:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1136273" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1136273&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;3- First, create a partition with fdisk or parted commands, then format with "mkfs -t ext3 &lt;DEVICE&gt;"&lt;BR /&gt;&lt;BR /&gt;4- You can see your gateway with netstat -nr, check the 0.0.0.0 destination.&lt;BR /&gt;&lt;/DEVICE&gt;</description>
      <pubDate>Mon, 18 Jun 2007 17:35:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-basic-administration/m-p/4022398#M28824</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-06-18T17:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Linux basic administration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-basic-administration/m-p/4022399#M28825</link>
      <description>Thanks for the post. I have not understood the follwing part in device discovery...&lt;BR /&gt;&lt;BR /&gt;echo "1" &amp;gt; /sys/class/fc_host/hostXYZ/issue_lip&lt;BR /&gt;echo "- - -" &amp;gt; /sys/class/scsi_host/hostXYZ/scan&lt;BR /&gt;&lt;BR /&gt;what host xyz stands for ?</description>
      <pubDate>Mon, 18 Jun 2007 17:47:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-basic-administration/m-p/4022399#M28825</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-06-18T17:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Linux basic administration</title>
      <link>https://community.hpe.com/t5/operating-system-linux/linux-basic-administration/m-p/4022400#M28826</link>
      <description>This is my first post in Linux forum. Also I am new with Linux enviornment. I have a few basic questions regarding configuring my linux. &lt;BR /&gt;&lt;BR /&gt;How do i detect what HBA is installed in my Linux host and see its firmware and stuf? I mean from command line?&lt;BR /&gt;lspci|grep -i Fibre&lt;BR /&gt;02:03.0 Fibre Channel: Emulex Corporation LP9802 Fibre Channel Adapter (rev 01)&lt;BR /&gt;04:04.0 Fibre Channel: Emulex Corporation LP9802 Fibre Channel Adapter (rev 01)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;How do i discover all the Hardware and Storage disks that are connected to my system? Again from command line. &lt;BR /&gt;&lt;BR /&gt;# echo "scsi add-single-device 1 0 0 23" &amp;gt;/proc/scsi/scsi&lt;BR /&gt;# echo "scsi add-single-device 2 0 0 23" &amp;gt;/proc/scsi/scsi&lt;BR /&gt;# cat /proc/scsi/scsi|grep 23&lt;BR /&gt;Host: scsi1 Channel: 00 Id: 00 Lun: 23&lt;BR /&gt;Host: scsi1 Channel: 00 Id: 01 Lun: 23&lt;BR /&gt;Host: scsi2 Channel: 00 Id: 00 Lun: 23&lt;BR /&gt;Host: scsi2 Channel: 00 Id: 01 Lun: 23&lt;BR /&gt;&lt;BR /&gt;bash: syminq: command not found&lt;BR /&gt;# cd /usr/sbin/lpfc&lt;BR /&gt;# ll lun*&lt;BR /&gt;-rwxr-xr--    1 root     root         2540 Apr 11  2005 lun_scan&lt;BR /&gt;# ./lun_scan all&lt;BR /&gt;Scanning lpfc0, scsi host number : 1&lt;BR /&gt;   Scanning Target Id 0...&lt;BR /&gt;   Scanning Target Id 1...&lt;BR /&gt;Scanning lpfc1, scsi host number : 2&lt;BR /&gt;   Scanning Target Id 0...&lt;BR /&gt;   Scanning Target Id 1...&lt;BR /&gt;&lt;BR /&gt;# powermt config&lt;BR /&gt;&lt;BR /&gt;Could not find config file entry for:&lt;BR /&gt;volumd ID = 6006016C440D00003B3CBB0565C7D711&lt;BR /&gt;---------------------------------------&lt;BR /&gt;&lt;BR /&gt;adding emcpoweraa&lt;BR /&gt;How do i format and partition the disk using linux command ?&lt;BR /&gt;&lt;BR /&gt;]# fdisk /dev/emcpowerc&lt;BR /&gt;&lt;BR /&gt;The number of cylinders for this disk is set to 8802.&lt;BR /&gt;There is nothing wrong with that, but this is larger than 1024,&lt;BR /&gt;and could in certain setups cause problems with:&lt;BR /&gt;1) software that runs at boot time (e.g., old versions of LILO)&lt;BR /&gt;2) booting and partitioning software from other OSs&lt;BR /&gt;   (e.g., DOS FDISK, OS/2 FDISK)&lt;BR /&gt;&lt;BR /&gt;Command (m for help): p&lt;BR /&gt;&lt;BR /&gt;Disk /dev/emcpowerc: 255 heads, 63 sectors, 8802 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;         Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/emcpowerc1             1      6267  50339646   83  Linux&lt;BR /&gt;/dev/emcpowerc2          6268      7312   8393962+  83  Linux&lt;BR /&gt;/dev/emcpowerc3          7313      8357   8393962+  83  Linux&lt;BR /&gt;/dev/emcpowerc4          8358      8802   3574462+   5  Extended&lt;BR /&gt;/dev/emcpowerc5          8358      8580   1791216   83  Linux&lt;BR /&gt;/dev/emcpowerc6          8581      8802   1783183+  83  Linux&lt;BR /&gt;&lt;BR /&gt;Command (m for help): m&lt;BR /&gt;&lt;BR /&gt;Command action&lt;BR /&gt;   a   toggle a bootable flag&lt;BR /&gt;   b   edit bsd disklabel&lt;BR /&gt;   c   toggle the dos compatibility flag&lt;BR /&gt;   d   delete a partition&lt;BR /&gt;   l   list known partition types&lt;BR /&gt;   m   print this menu&lt;BR /&gt;   n   add a new partition&lt;BR /&gt;   o   create a new empty DOS partition table&lt;BR /&gt;   p   print the partition table&lt;BR /&gt;   q   quit without saving changes&lt;BR /&gt;   s   create a new empty Sun disklabel&lt;BR /&gt;   t   change a partition's system id&lt;BR /&gt;   u   change display/entry units&lt;BR /&gt;   v   verify the partition table&lt;BR /&gt;   w   write table to disk and exit&lt;BR /&gt;   x   extra functionality (experts only)&lt;BR /&gt;&lt;BR /&gt;To delete the existing partition&lt;BR /&gt;&lt;BR /&gt;Command (m for help): d&lt;BR /&gt;Partition number (1-6): 6&lt;BR /&gt;&lt;BR /&gt;Command (m for help): p&lt;BR /&gt;&lt;BR /&gt;Disk /dev/emcpowerc: 255 heads, 63 sectors, 8802 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;         Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/emcpowerc1             1      6267  50339646   83  Linux&lt;BR /&gt;/dev/emcpowerc2          6268      7312   8393962+  83  Linux&lt;BR /&gt;/dev/emcpowerc3          7313      8357   8393962+  83  Linux&lt;BR /&gt;/dev/emcpowerc4          8358      8802   3574462+   5  Extended&lt;BR /&gt;/dev/emcpowerc5          8358      8580   1791216   83  Linux&lt;BR /&gt;&lt;BR /&gt;Command (m for help): w&lt;BR /&gt;The partition table has been altered!&lt;BR /&gt;&lt;BR /&gt;Calling ioctl() to re-read partition table.&lt;BR /&gt;&lt;BR /&gt;WARNING: If you have created or modified any DOS 6.x&lt;BR /&gt;partitions, please see the fdisk manual page for additional&lt;BR /&gt;information.&lt;BR /&gt;Syncing disks.&lt;BR /&gt;&lt;BR /&gt;To add a new partition&lt;BR /&gt;&lt;BR /&gt;Command (m for help): n&lt;BR /&gt;Command action&lt;BR /&gt;   e   extended&lt;BR /&gt;   p   primary partition (1-4)&lt;BR /&gt;p&lt;BR /&gt;Partition number (1-4): 1&lt;BR /&gt;First cylinder (1-8802, default 1): &lt;BR /&gt;Using default value 1&lt;BR /&gt;Last cylinder or +size or +sizeM or +sizeK (1-8802, default 8802): +61000M&lt;BR /&gt;&lt;BR /&gt;Command (m for help): p&lt;BR /&gt;&lt;BR /&gt;Disk /dev/emcpowerc: 255 heads, 63 sectors, 8802 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 bytes&lt;BR /&gt;&lt;BR /&gt;         Device Boot    Start       End    Blocks   Id  System&lt;BR /&gt;/dev/emcpowerc1             1      7777  62468721   83  Linux&lt;BR /&gt;&lt;BR /&gt;Command (m for help): w&lt;BR /&gt;The partition table has been altered!&lt;BR /&gt;&lt;BR /&gt;Calling ioctl() to re-read partition table.&lt;BR /&gt;&lt;BR /&gt;WARNING: If you have created or modified any DOS 6.x&lt;BR /&gt;partitions, please see the fdisk manual page for additional&lt;BR /&gt;information.&lt;BR /&gt;Syncing disks.&lt;BR /&gt;&lt;BR /&gt;# mke2fs -j -m0 /dev/emcpowerc1 (With new disks mkefs may not work until you reboot, so if it fails with mkefs try rebooting)&lt;BR /&gt;&lt;BR /&gt;mke2fs 1.26 (3-Feb-2002)&lt;BR /&gt;Filesystem label=&lt;BR /&gt;OS type: Linux&lt;BR /&gt;Block size=4096 (log=2)&lt;BR /&gt;Fragment size=4096 (log=2)&lt;BR /&gt;7815168 inodes, 15617180 blocks&lt;BR /&gt;0 blocks (0.00%) reserved for the super user&lt;BR /&gt;First data block=0&lt;BR /&gt;477 block groups&lt;BR /&gt;32768 blocks per group, 32768 fragments per group&lt;BR /&gt;16384 inodes per group&lt;BR /&gt;Superblock backups stored on blocks: &lt;BR /&gt; 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, &lt;BR /&gt; 4096000, 7962624, 11239424&lt;BR /&gt;&lt;BR /&gt;Writing inode tables:&lt;BR /&gt;&lt;BR /&gt;# e2label /dev/emcpowerc1 /d/applmgr&lt;BR /&gt;&lt;BR /&gt;Put the below entry in /etc/fstab&lt;BR /&gt;&lt;BR /&gt;LABEL=/d/applmgr        /eb_rdh4_d/applmgr      ext3    defaults        1 2&lt;BR /&gt;&lt;BR /&gt;# mkdir  /eb_rdh4_d/applmgr&lt;BR /&gt;&lt;BR /&gt;# mount  /eb_rdh4_d/applmgr&lt;BR /&gt;&lt;BR /&gt;Also whats the command to see gateway configured in my system ?&lt;BR /&gt;&lt;BR /&gt;netstat -nr&lt;BR /&gt;</description>
      <pubDate>Mon, 18 Jun 2007 19:02:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/linux-basic-administration/m-p/4022400#M28826</guid>
      <dc:creator>skt_skt</dc:creator>
      <dc:date>2007-06-18T19:02:54Z</dc:date>
    </item>
  </channel>
</rss>

