Sponsored Content
Full Discussion: ghost file, delete help
Top Forums UNIX for Dummies Questions & Answers ghost file, delete help Post 302088961 by RTM on Friday 15th of September 2006 10:42:44 AM
Old 09-15-2006
You can try rm T*.html if that is the only T*.html file or use quotes (rm "Ti?ng Viê?t.html" ) but it looks like it's complaining about a file that no longer exist which means your file pointers were not updated. Try unmounting the partition and running fsck (or appropriate file system check) against that partition.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

PS finds a ghost?

Hello, I have problems executing a script in ksh with this script named process.sh: ps -ef | grep process.sh | grep -v grep | wc -l | read a if then echo "The script is running" exit 0 fiThe problem is that when I execute the script, sometimes it shows the message "The script is... (10 Replies)
Discussion started by: jguirao
10 Replies

2. UNIX for Dummies Questions & Answers

logoff ghost user

I just noticed by running a who command that I was logged in twice . So two admin2 are on the list. (solaris 2.6) Since I telnet using a windows 98, I suppose that I forgot to CTRL-D last time I logged in and clicked on hangup. In such a case, how can I loggoff the old ghost loggin ? It's not a... (4 Replies)
Discussion started by: phpote
4 Replies

3. UNIX for Dummies Questions & Answers

Can I ghost a Unix Box ? with another

I have a Solaris Ultra 10 Box, which contains all my software, I got a new Sun Ultra10 with the same configuration. Can I ghost the it ? Does Unix support any such application. (6 Replies)
Discussion started by: stephen104
6 Replies

4. UNIX for Dummies Questions & Answers

About ghost pid

Hi, I have a strange (for me) problem here: I use stop command to close program. After that I try to start it again. However, it wont start because one of the needed component fails to start. That is caused propably because the failing component is still running (obviously as a ghost pid).... (3 Replies)
Discussion started by: kolada
3 Replies

5. AIX

Ghost Users

I am having a problem that I cannot figure out. RS6000 server running AIX 5.2. Users connect via TCP/IP and login and work just fine. When the user logs out of the application, I can run the "who" command or "w" command and the O/S still reports the user as logged in. If I run "ps -tpts/xx"... (2 Replies)
Discussion started by: Docboyeee
2 Replies

6. UNIX for Dummies Questions & Answers

ghost reboot on AIX5300-08

we are on aix5300-08. it reboot by itself. according to our unix admin and IBM support, they had seen this before. so, they asked her to apply latest AIX patch for 5300-08. did anyone ever seen anything like this before ? (0 Replies)
Discussion started by: tjmannonline
0 Replies

7. UNIX for Dummies Questions & Answers

ghost 4 unix

Hello, I am looking for help on how to use ghost 4 unix. I know there is a site for ghost 4 unix, but if I understood that I wouldn't be here. Everything is already set up, there is a ftp server, iomega network hard drive, there are already images on this network harddrive. I know how to use the... (0 Replies)
Discussion started by: slakk
0 Replies

8. AIX

Flashcopy, ghost hdisk ??

Hi all, I'm getting some errors on AIX regarding Flashcopy and volume group hard disks. The script that activates flashcopy showed this errors: Recreating Flashcopy for lun01_A1 Performing syntax check... Syntax check complete. Executing script... Script execution complete. SMcli... (1 Reply)
Discussion started by: enux
1 Replies

9. UNIX for Dummies Questions & Answers

Delete directory from ghost owner with awk

Hi all Unix gurus :) I really need urgent help with deleting ghost (owner is only numbers) accounts on our OS X server in users home directory. I get this ghost accounts after deleting a user from Workgroup Manager. I have done a script that I can see this ghost accounts with: ls -la |... (4 Replies)
Discussion started by: macguy
4 Replies

10. Red Hat

Need Script to ZIP/SAVE & then DELETE Log file & DELETE ZIPS older than 12 months

ENVIROMENT Linux: Fedora Core release 1 (Yarrow) iPlanet: iPlanet-WebServer-Enterprise/6.0SP1 Log Path: /usr/iplanet/servers/https-company/logs I have iPlanet log rotation enabled rotating files on a daily basis. The rotated logs are NOT compressed & are taking up too much space. I... (7 Replies)
Discussion started by: zachs
7 Replies
KPARTX(8)						   Linux Administrator's Manual 						 KPARTX(8)

NAME
kpartx - Create device maps from partition tables SYNOPSIS
kpartx [-a | -d | -l] [-v] wholedisk DESCRIPTION
This tool, derived from util-linux' partx, reads partition tables on specified device and create device maps over partitions segments detected. It is called from hotplug upon device maps creation and deletion. OPTIONS
-a Add partition mappings -r Readonly partition mappings -r Read-only partition mappings -d Delete partition mappings -u Update partition mappings -l List partition mappings that would be added -a -p set device name-partition number delimiter -f force creation of mappings; overrides 'no_partitions' feature -g force GUID partition table (GPT) -v Operate verbosely -s Sync mode. Don't return until the partitions are created EXAMPLE
To mount all the partitions in a raw disk image: kpartx -av disk.img This will output lines such as: loop3p1 : 0 20964762 /dev/loop3 63 The loop3p1 is the name of a device file under /dev/mapper which you can use to access the partition, for example to fsck it: fsck /dev/mapper/loop3p1 When you're done, you need to remove the devices: kpartx -d disk.img SEE ALSO
multipath(8) multipathd(8) hotplug(8) AUTHORS
This man page was assembled By Patrick Caulfield for the Debian project. From documentation provided by the multipath author Christophe Varoqui, <christophe.varoqui@opensvc.com> and others. July 2006 KPARTX(8)
All times are GMT -4. The time now is 11:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy