- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- DELETING FILES
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 04:01 AM
08-09-2002 04:01 AM
OK, I set up a va7100 to store fall back data during a PS conversion. PS conversion went well, now I am removing all data. cd /OLDT01;
exec a rm -ri * and get the following error for only 2 directories.
/OLDT01/app]# rm -r oracle
rmdir: oracle: Cannot remove mountable directory
I am trying to delete all files, then format the autoraid to scrub all data from disks. These are medical records so I need to be sure that data is really gone. Can I be sure that by deleting all files (once I get past this error) and formating the array, that my data is truely gone?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 04:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 04:06 AM
08-09-2002 04:06 AM
Re: DELETING FILES
Because the autoraid is such a beast of an array, I would seriously challenge anyone to be able to recover it - it kindof works like magic where your data is in there! ;)
I'd still do a dd if=/something of=/dev/dsk/autoraid in any case.
It messes it up more than an rm (filesystem based delete)
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 04:08 AM
08-09-2002 04:08 AM
Re: DELETING FILES
So the correct command would be rm -r oracle/* assuming that there are no . (dot) files in oracle. However, it's infinitely faster just to unmount the filesystem, then newfs the raw lvol. Follow that with lvremove and finally vgremove for all the lvols in the volume. Now this doesn't erase the data so a mediainit is needed once the volume group is removed.
If you are truly concerned, I would use dd to copy something like /stand/vmunix to each physical (raw) disk (wipes out data at front of disk) and then mediainit for each raw disk devicefile.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 04:10 AM
08-09-2002 04:10 AM
Re: DELETING FILES
have you configured a automount directory?
you must sconfigure it before.
regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 05:25 AM
08-09-2002 05:25 AM
Re: DELETING FILES
that has oracle and psfin directories under it that wont delete. So i tried to umount the /OLDT01.. not found in /etc/mnttab
bdf does not show it either.
when I try to mount it... already mounted.
So I can't remove the lv because it is busy and I can't umount it. Not sure what I can do now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 05:33 AM
08-09-2002 05:33 AM
Re: DELETING FILES
Thanks everyone, much appreciated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 05:50 AM
08-09-2002 05:50 AM
Re: DELETING FILES
The thumb rule is to check whether ther are mountpoint under that direcotry which ahve not been unmounted . You can do a fuser -c /mntpt to know any process holding up the umount and once you ar done you ahve to umount teh mnt point and then delete the parent directory.
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2002 06:50 AM
08-09-2002 06:50 AM
Re: DELETING FILES
Also check to see what if anything is using it via fuser -c /directory/name