Operating System - HP-UX
1748183 Members
3463 Online
108759 Solutions
New Discussion юеВ

Re: re : remove special file

 
SOLVED
Go to solution
Vincent_5
Super Advisor

re : remove special file

Hi Guys,
Can anyone advice how can I remove the special files from the disk. When I do ioscan funC disk it show below

disk 1 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG0146FAMWL
/dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
/dev/dsk/c4t0d0s1 /dev/rdsk/c4t0d0s1
/dev/dsk/c4t0d0s2 /dev/rdsk/c4t0d0s2
/dev/dsk/c4t0d0s3 /dev/rdsk/c4t0d0s3
disk 2 0/1/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG0146FAMWL
/dev/dsk/c4t1d0 /dev/rdsk/c4t1d0

How do u remove special file end with c4t0d0s1, C4t0d0s2, c4t0d0s3 and etc.

Please advice??

Regards
Vincent
nothing is better than to know more
4 REPLIES 4
amithp
Frequent Advisor
Solution

Re: re : remove special file

rmsf is the command to remove device or special files. You have to manually
do it
for example

rmsf /dev/dsk/c4t0d0 /dev/rdsk/c4t0d0
Johnson Punniyalingam
Honored Contributor

Re: re : remove special file

on top of that ? any special reason why you need to "delete or remove" ..?

man rmsf -> man pages more information.
Problems are common to all, but attitude makes the difference
Prasanth Thomas
Valued Contributor

Re: re : remove special file

Hi Vincent,

You can remove the device file by using the H/W path of the same.

#rmsf -H

if the disk/lun is removed from the server this will autmatically remove after next reboot.

Regards,
Prasanth Thomas.
Prasanth Thomas
Valued Contributor

Re: re : remove special file

for mor information please refer the below link.

http://www.informatik.uni-frankfurt.de/doc/man/hpux/rmsf.1m.html

Regards,
PT.