Contents
- 1 How do I format a drive in Solaris?
- 2 How do I find the size of my hard drive in Solaris 10?
- 3 What is Cfgadm command?
- 4 What are the device types in Solaris?
- 5 How do I eject a disk in Solaris 11?
- 6 How do I see disk space on Linux?
- 7 How does Solaris check for new storage Luns?
- 8 How to label a disk in Oracle Solaris?
How do I format a drive in Solaris?
How to Format a Disk
- Become an administrator.
- Invoke the format utility.
- Type the number of the disk that you want to format.
- To begin formatting the disk, type format at the format> prompt.
- Verify that the disk format was successful by noting the following messages:
- Exit the format utility.
How do I find the size of my hard drive in Solaris 10?
Use the df command to show the amount of free disk space on each mounted disk. Use the df -k command to display disk space information in Kbytes.
How do I view disk information in Solaris?
To identify disks, launch the Format utility by issuing the format command. The command displays the disks in the system similar to the following example: # format AVAILABLE DISK SELECTIONS: 0.
How many device types are in Solaris?
Oracle Solaris x86-based systems have 16 slices (numbered 0-15) versus 8 for SPARC. On the x86 system, slice 8 is used to hold boot code and contains the GRUB stage1 program in sector 0, the disk label, the VTOC in sectors 1 and 2, and GRUB stage2 program beginning at sector 50.
What is Cfgadm command?
The cfgadm command is used to take a component offline. The cfgadm command resides in the /usr/sbin directory.
What are the device types in Solaris?
Devices are referenced in three ways in the Oracle Solaris OS. Physical device name – Represents the full device path name in the device information hierarchy. The physical device name is created by when the device is first added to the system. Physical device files are found in the /devices directory.
What is data block in Solaris?
The data block is the storage unit of data in the Solaris file system. The default size of a data block in the Solaris file system is 8192 bytes. After a block is full, the file is allotted another block. The addresses of these blocks are stored as an array in the Inode.
How do I find my WWN number in Solaris 11?
Step 1 Run the fcinfo hba-port command to the HBA WWN in Solaris 10. Manufacturer: QLogic Corp. Manufacturer: QLogic Corp. Step 2 Run the prtpicl -v -c scsi-fcp |grep -i wwn command to view the HBA WWN in Solaris 8 and 9.
How do I eject a disk in Solaris 11?
Using luxadm
- Remove the disk using the luxadm command : # /usr/sbin/luxadm remove_device /dev/rdsk/c1t1d0s2.
- If the disk fails to get removed, physically remove the disk and use below command : # luxadm -e offline /dev/rdsk/c1t1d0s2.
- Cleanup the device files for the removed device from /dev directory :
How do I see disk space on Linux?
Linux check disk space with df command
- Open the terminal and type the following command to check disk space.
- The basic syntax for df is: df [options] [devices] Type:
- df.
- df -H.
How do I check disk space utilization in Oracle?
Using the Computer properties window:
- Open the Start menu, then click Computer.
- View the free disk space for each drive.
- Right-click the drive on which you plan to install the Oracle software and select Properties to view additional information about the disk space for that drive.
How does Solaris detect a new disk drive?
This applies to internal and external disk drives as well as virtual disks. Most of the times the disks are detected automatically without doing anything. The devfsadmd daemon will be running in the background and constantly checking for the presence of new hardware, so often times the device will be found right away.
How does Solaris check for new storage Luns?
Most of the times the disks are detected automatically without doing anything. The devfsadmd daemon will be running in the background and constantly checking for the presence of new hardware, so often times the device will be found right away. Use below methods if the disks are still not visible in the format command.
How to label a disk in Oracle Solaris?
Go to Chapter 12, SPARC: Setting Up Disks (Tasks)or Chapter 13, x86: Setting Up Disks (Tasks). Go to How to Label a Disk. Connect the disk to the system by using your disk hardware documentation. Copyright © 2004, 2012, Oracle and/or its affiliates. All rights reserved.
Which is the best book for Oracle Solaris 11?
This book is for anyone responsible for administering one or more systems that run the Oracle Solaris 11 release. The book covers a range of Oracle Solaris system administration topics related to managing removable media, disks and devices and file systems.Topics are described for both SPARC and x86 based systems, where appropriate.