07-13-2010
could this be done using a liveCD and what are the danger(s) of using ubuntu to manipulate a windows partition, may i ask?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All
I have a somewhat complex requirement.
I have a file containing about 1 million records
The records in the file are of fixed length
Every record begins with 03,04 ,05 or 06
03 record is parent record.
04 05 and 06 are child records
Every 03 record can have
zero ,1 or more than 1... (5 Replies)
Discussion started by: aashoo_5
5 Replies
2. Shell Programming and Scripting
I'm a begginer with scripting...
Have a script that pulls check information data. There are multiple lines for each check. ALL the info is the same on the line EXCEPT the charges. ie: same check number, same payee, same patient, same check date, DIFFERENT CHARGE. I need to total the charges... (0 Replies)
Discussion started by: tdavenpo
0 Replies
3. UNIX for Advanced & Expert Users
This is something I've given a lot of thought to and come up with no answer.
Say you have a data stream passing from a file, through process A, into process B. Process A only modifies a few bytes of the stream, then prints the rest of the stream unmodified. Is there any way to stream the file... (4 Replies)
Discussion started by: Corona688
4 Replies
4. Linux
We are intending to protect a set of user specified files using LVM mirroring where the protected space on which the user files are stored is mirrored on an LV on a different disk. Our problem is that for a user with a custom layout has installed linux with 2 partitons for swap and / and there is... (0 Replies)
Discussion started by: kickdgrass
0 Replies
5. AIX
Hi Guys,
probably a standard issue, so what do I miss here?
Error message:
> chfs -a size=-128M /export/nim/aix/5300-10
chfs: 0506-964 There is not enough free space to shrink the file system.
df shows 0.75GB free
> df -g .
Filesystem GB blocks Free %Used Iused %Iused... (7 Replies)
Discussion started by: raba
7 Replies
6. Solaris
Hello experts,
I have a solaris 10 (SunOS 5.10 Generic_148888-05 sun4u sparc SUNW,SPARC-Enterprise) that by mistake I added a second san space of 700g to the pool. the whole pool is now 1.2T and, I need to take the space away from the pool and, make the pool 700g total. this is live oracle... (7 Replies)
Discussion started by: afadaghi
7 Replies
7. UNIX for Dummies Questions & Answers
Hello , to invent some software we need to massive shrink system volumes in our company (800 pc windows xp) . For that purpose we are planing to run remotely some linux distro with fdisk script. Some one have similar experience? ? Any information would be helpfull . THanks.;) (3 Replies)
Discussion started by: Y2J
3 Replies
8. Shell Programming and Scripting
I have a script which checks for swap usage of the unix server.
A cron job has been created to execute this script every hour and send the output via mail.
This output is only required for a particular duration and it can range anywhere from 6 hours to 10 hours. So we are commenting out the... (1 Reply)
Discussion started by: kiran1112
1 Replies
9. Shell Programming and Scripting
Please assist with the following.
I have readings R1, R2,..Rn from plants from different fields , sometimes replicated. I need to first consolidate the replicates by their mean value per plant per field. Then I need to reformat the data by partially transposing it.
The missing values... (3 Replies)
Discussion started by: jianp83
3 Replies
10. Shell Programming and Scripting
Dears,
i am stuck here
i have 3 scripts running at one time and all the three scripts finish at different time and each script generate 1 file with different name. so i will have three files.
i dnt know which script finish first
i want to have a script which check if all the there files are... (6 Replies)
Discussion started by: mirwasim
6 Replies
LEARN ABOUT DEBIAN
resize_reiserfs
RESIZE_REISERFS(8) System Manager's Manual RESIZE_REISERFS(8)
NAME
resize_reiserfs - resizer tool for the ReiserFS filesystem
SYNOPSIS
resize_reiserfs [ -s [+|-]size[K|M|G] ] [ -j dev ] [ -fqv ] device
DESCRIPTION
The resize_reiserfs tool resizes an unmounted reiserfs file system. It enlarges or shrinks an reiserfs file system located on a device so
that it will have size bytes or size=old_size +(-) size bytes if the + or - prefix is used. If the -s option is not specified, the
filesystem will be resized to fill the given device. The size parameter may have one of the optional modifiers K, M, G, which means the
size parameter is given in kilo-, mega-, gigabytes respectively.
The resize_reiserfs program does not manipulate the size of the device. If you wish to enlarge a filesystem, you must make sure you expand
the underlying device first. This can be done using cfdisk(8) for partitions, by deleting the partition and recreating it with a larger
size (assuming there is free space after the partition in question). Make sure you re-create it with the same starting disk cylinder as
before! Otherwise, the resize operation will certainly not work, and you may lose your entire filesystem.
The resize_reiserfs program allows to grow a reiserfs on-line if there is a free space on block device.
If you wish to shrink a reiserfs partition, first use resize_reiserfs to shrink the file system. You may then use cfdisk(8) to shrink the
device. When shrinking the size of the device, make sure you do not make it smaller than the reduced size of the reiserfs filesystem.
OPTIONS
-s [+|-]size
Set the new size in bytes.
-j dev Set the journal device name.
-f Force, do not perform checks.
-q Do not print anything but error messages.
-v Turn on extra progress status messages (default).
RETURN VALUES
0 Resizing successful.
-1 Resizing not successful.
EXAMPLES
The following example shows how to test resize_reiserfs. Suppose 2Gb reiserfs filesystem is created on the device /dev/hda8 and is mounted
on /mnt. For shrinking the device we need to unmount it first, then run resize_reiserfs with a size parameter (in this case -1Gb):
df
umount /mnt
resize_reiserfs -s -1G /dev/hda8
mount /dev/hda8 /mnt
df /mnt
AUTHOR
This version of resize_reiserfs has been written by Alexander Zarochentcev <zam@namesys.com>.
BUGS
Please report bugs to the ReiserFS developers <reiserfs-dev@namesys.com>, providing as much information as possible--your hardware, kernel,
patches, settings, all printed messages; check the syslog file for any related information.
SEE ALSO
cfdisk(8), reiserfsck(8), debugreiserfs(8)
Reiserfsprogs-3.6.21 January 2009 RESIZE_REISERFS(8)