Unable to remove links of Cleared metas


 
Thread Tools Search this Thread
Operating Systems Solaris Unable to remove links of Cleared metas
# 1  
Old 05-06-2011
Unable to remove links of Cleared metas

Hi, have few meta devices which were cleared some year ago but still appear in /dev/md/rdsk.
If I create a same meta device again, it shows old timestamp of 2009yr

I tried devfsadm -C to clear unlinked links but of no use.
What am I missing ?

Last edited by DukeNuke2; 05-06-2011 at 01:24 PM..
# 2  
Old 05-06-2011
have a look at the "metaclear" command.

UNIX man pages : metaclear (1M)

if nothing else work, try a "reboot -- -r" or a "touch /reconfigure && init 6" which is a softer version of a reboot...
# 3  
Old 05-06-2011
Thanks for reply.

I dont have any idea about how those were cleared but mostly it must be just "metaclear /full_path_to_devicename"
yup reboot with reconfiguration is last option.

How do I update time stamp of that meta-device link or do I have to update it manually using touch command.( I am unsure about using touch in this case).

Last edited by tuxian; 05-06-2011 at 01:57 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

SORRY REPOST - unable to remove

Hi, I have a requirement to fetch the length of a line within awk. I see that wc -c returns the number of bytes consumed, which is my requirement. However, the "length" function does not return the same, when I have non-ascii characters which are more than 1 byte. I have tried the below... (1 Reply)
Discussion started by: tostay2003
1 Replies

2. AIX

Unable to remove APAR -- any solution ?

Hello I would like to remove the APARs # instfix -ivk IY68989 IY68989 Abstract: write to mmapped space hangs Fileset bos.mp:5.3.0.30 is applied on the system. Fileset bos.mp64:5.3.0.30 is applied on the system. All filesets for IY68989 were found. # instfix -ivk IY73497 IY73497... (2 Replies)
Discussion started by: filosophizer
2 Replies

3. Shell Programming and Scripting

Unable to preserve hard links. Why?

Hi, I'm trying to create a Makefile that would automate remastering Knoppix distribution. As a part of the process I am mounting using linux cloop device a compressed filesystem and copy the content out of it to separate dir. However during that process I need to preserve hard links and it... (9 Replies)
Discussion started by: dpc.ucore.info
9 Replies

4. AIX

Unable to remove files from rm command

I need to delete some files which are not getting removed not even from root user -rw-r----- 1 ptml tellin 0 Jul 26 19:23 temp.out1 -rw-r----- 1 ptml tellin 0 Jul 26 19:23 temp.out -rw-r----- 1 ptml tellin 2 Jul 26 19:23 prev -rw-r----- 1... (4 Replies)
Discussion started by: m_usmanayub
4 Replies

5. UNIX for Dummies Questions & Answers

Remove all links

How can I remove all links (and just the links) from a file hierarchie (recursively)? With unlink I don't see any possibility to do that. Thanks! (4 Replies)
Discussion started by: borobudur
4 Replies

6. AIX

WTMP file cleared after upgrade

Hello, we recently upgraded from AIX 5.2.9 to 5.3.6 and in the process the wtmp file was cleared out. Before the upgrade the system had not been rebooted in a very long time, so i'm curious if the clearing of the file is related to the upgrade or the reboot? If it was related to the reboot is... (2 Replies)
Discussion started by: zuessh
2 Replies

7. Forum Support Area for Unregistered Users & Account Problems

hotmail cleared account before activation

Hotmail cleared my email account before I had a chance to activate it. Can a admin re-send the activation email or activate my username? thanks (2 Replies)
Discussion started by: prkfriryce
2 Replies
Login or Register to Ask a Question