Check whether volfs
is running or not..
root@PHM1SVEWBSCSDB # svcs -a|grep volfs
maintenance 11:55:11 svc:/system/filesystem/volfs:default
****************** if it is in maintenance
mode*****************
cat /var/svc/log/system-filesystem-volfs:default.log
Manual method...
root@PHM1SVEWBSCSDB# svcadm
clear volfs
root@PHM1SVEWBSCSDB #svcs
volfs
STATE STIME FMRI offline* 22:17:30
svc:/system/filesystem/volfs:default
root@PHM1SVEWBSCSDB # svcadm
enable -s volfs
root@PHM1SVEWBSCSDB #svcs
volfs
STATE STIME FMRI online 22:17:42
svc:/system/filesystem/volfs:default
**********************************************************************
if it is disabled, enable it for enable auto-mounting option.
# svcadm enable volfs
If the usb flash
is recognize by the system it will be mount and you can see the
status with
root@PHM1SVEWBSCSDB #
rmformat -l
Looking for devices...
1. Logical Node: /dev/rdsk/c1t6d0s2
Physical Node:
/pci@400/pci@2/pci@0/pci@4/scsi@0/iport@40/cdrom@p6,0
Connected Device:
TEAC DV-W28SS-R
1.0C
Device Type: DVD Reader/Writer
2. Logical Node: /dev/rdsk/c2t0d0s2
Physical Node: /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@2/hub@3/storage@2/disk@0,0
Connected Device:
AMI Virtual CDROM 1.00
Device Type: CD Reader
3. Logical Node: /dev/rdsk/c9t0d0s2
Physical Node:
/pci@400/pci@2/pci@0/pci@f/pci@0/usb@0,2/hub@4/storage@1/disk@0,0
Connected Device: WDC WD20
EZRX-00DC0B0
Device Type: Removable
For mount USB HDD
set the default solaris partition up (pick the default prompt
here)
# fdisk /dev/rdsk/[device_name]
get the number of sectors in the disk (look for the 'Sector Count' column)
# prtvtoc /dev/rdsk/[device_name]
make a ufs filesystem on the device
# newfs -v -s [sector_count]
/dev/rdsk/[device_name]
make a mountpoint
# mkdir /usbdrive
mount the formatted disk (note that we no longer use the raw disk here (rdisk))
# mount /dev/dsk/[device_name] /usbdrive
To find under what names file systems are mounted: use
the
root@PHM1SVEWBSCSDB #df -k