Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I/O error on particular slice

Status
Not open for further replies.

alimalik

Technical User
Aug 15, 2005
20
0
0
QA

The problem is that i can't make my permanent slice /c0t0d0s5 mount on existing folder ora1, it gives an error as given below, the entry for given slice is also exist in /etc/vfstab.

root@netbackup # mount /dev/dsk/c0t0d0s5 /ora1
mount: I/O error
mount: cannot mount /dev/dsk/c0t0d0s5
 
What does your partition table look like? prtvtoc /dev/rdsk/c0t0d0s2

Annihilannic.
 
root@netbackup # prtvtoc /dev/rdsk/c0t0d0s2
* /dev/rdsk/c0t0d0s2 partition map
*
* Dimensions:
* 512 bytes/sector
* 107 sectors/track
* 27 tracks/cylinder
* 2889 sectors/cylinder
* 24622 cylinders
* 24620 accessible cylinders
*
* Flags:
* 1: unmountable
* 10: read-only
*
* Unallocated space:
* First Sector Last
* Sector Count Sector
* 25700544 45426636 71127179
*
* First Sector Last
* Partition Tag Flags Sector Count Sector Mount Directory
0 2 00 4194828 20480121 24674948 /
1 3 01 0 4194828 4194827
2 5 00 0 71127180 71127179
7 0 00 24674949 1025595 25700543
root@netbackup #
 
You are showing /dev/rdsk/c0t0d0s2 - the s2 on the end means slice (2) not (5). Change your vstab to read c0t0d0s5 and it should be fine.
 
No, he was trying to mount the correct slice number. I asked him to do the prtvtoc on slice 2.

The problem is that slice 5 doesn't exist yet. There is quite a lot of unused space on the disk, so nothing preventing it from being created.

Annihilannic.
 
He is trying to mount on slice 5, not slice 2, and slice 5 doesn't exist as Annihilannic pointed out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top