04-21-2013
Recover a mistaken swap-formated USB-HD
Hi!
Installing the debian wheezy by netinstall my external USB-HD (2TB) is erroneously completly formated as swap-filesystem. I was to lazy to disconnect the USB-HD, so now i could kick myself .
Is there any chance to rescue the data. I tried to find a way by using
gparted: the whole HD is swap-fs. I only check with gparted, i didn't do any format-action.
and
testdisk. analyze and deeper search
both only see swap-fs and testdisk cant find anything.
I need a helping hint, because i need urgently some of the primary stored backup-data.
thanks in advance
IMPe
7 More Discussions You Might Find Interesting
1. SuSE
HI All,
My pc has two disks, One disk loaded with windows NT 2000 and redhat linux 7.2 dual boot. Another disk 80GB added and formated with NTFS file system. How to access the 80GB NTFS file system disk by booting linux os.
Thanks in advance
Bache Gowda (4 Replies)
Discussion started by: bache_gowda
4 Replies
2. Windows & DOS: Issues & Discussions
I was formating a couple of floppy disks, to make room for a ftp install of suse. However, the files you are suposed to put on the floppys are 1.4 mb. I thought "Fine, I have a 1.44 mb disk here". But appearantly windows uses 600kb on....tmp files or something.
If anyone knows how I might fix... (4 Replies)
Discussion started by: G-wizz
4 Replies
3. Shell Programming and Scripting
I have a command that when ran it will have an output such as
string LongerString
string2 longerString2
More MoreStrings
seperated by tabs. The command lists domains and their accounts set up in my server admin software (interworx).
The end result will be that it will run rsync for... (2 Replies)
Discussion started by: sweede
2 Replies
4. Shell Programming and Scripting
hi i have a file which is having
a.txt
name aaa
work business
emp since 2oct
office delhi
name aba
work business
emp since 6oct
name abc
work shopper
emp since ... (5 Replies)
Discussion started by: aaysa123
5 Replies
5. Shell Programming and Scripting
Hi,
I have written a BASH shell script (included below) which will allow me to monitor my blood pressure. The script computes the mean of 5 user input systolic, diastolic, and heart rate values.
I would like the script to then append these three values to their respective columns in a text... (5 Replies)
Discussion started by: msb65
5 Replies
6. SCO
Hello Unix World,
I've been having this issue for the longest time.
Here is my setup
OS: SCO OpenServer 6.0 with mp4, mp3
Server: Dell PowerEdge 840, 800, 2900
USB Stick: Patriot 16GB High Speed, and many other different brands.
Occasinaly while system is running and USB is pluged in the... (0 Replies)
Discussion started by: miles556
0 Replies
7. HP-UX
Hi
I have an integrity machine rx7620 and rx8640 running hp-ux 11.31. I'm planning to fine tune the system:
- I would like to know when does the memory swap space spill over to the device swap space?
- And how much % of memory swap utilization should be specified (swap space device... (6 Replies)
Discussion started by: lamoul
6 Replies
LEARN ABOUT HPUX
remote_nfs_swap
remote_nfs_swap(5) File Formats Manual remote_nfs_swap(5)
NAME
remote_nfs_swap - enable swapping across NFS
VALUES
Default
Allowed values
DESCRIPTION
This tunable controls adding a NFS filesystem for use as swap. If is set to only local filesystems and devices can be used for swap. If
it is set to both local and networked file systems can be used for swap.
Historically, this tunable was used in NFS clusters that are no longer supported, but this capability has not yet been removed.
Who Is Expected to Change This Tunable?
Anyone.
Restrictions on Changing
Changes to this tunable take effect on the next boot.
When Should the Tunable Be Turned On?
Almost never. As previously mentioned, this tunable was designed for systems which are not in use today. Only systems with extremely
robust NFS capabilities should even consider using NFS for swap.
What Are the Side Effects of Turning the Tunable On?
If the value is set to and a NFS partition is added as swap, then some kernel memory will be set aside for NFS transactions to the swap
file system. The kernel will then use the NFS swap partition just the same as a local file system. If the NFS capabilities of the system
are not robust, this could lead to extremely long swap times (both swap in and swap out), and possibly a loss of memory because all the
reserved memory and more could be used by NFS (just when memory pressure is high) causing the need for swap.
When Should the Tunable Be Turned Off?
Unless you are positive that the NFS system can handle the load of being used as swap, and does not have a local file system or disk drive
to spare, this tunable should be set to
What Are the Side Effects of Turning the Tunable Off?
Any previously defined NFS swap filesystems will no longer be allowed. Kernel memory will not be reserved for NFS transactions due to
swap.
What Other Tunables Should Be Changed at the Same Time?
None.
WARNINGS
All HP-UX kernel tunable parameters are release specific. This parameter may be removed or have its meaning changed in future releases of
HP-UX.
Installation of optional kernel software, from HP or other vendors, may cause changes to tunable parameter values. After installation,
some tunable parameters may no longer be at the default or recommended values. For information about the effects of installation on tun-
able values, consult the documentation for the kernel software being installed. For information about optional kernel software that was
factory installed on your system, see at
AUTHOR
was developed by HP.
Tunable Kernel Parameters remote_nfs_swap(5)