10-22-2002
normally in linux / is the only partition and that is all sub dirs except if you made a different partition table then /tmp is a drive/partition. partition magic can handle linux partitions and resize them (atleast ext2 ). so you could make that partition bigger. and other option is let it point to an other drive. but that let you loose 64mb if your tmp is that big. (ln -s /mnt/partition /tmp) not sure if it is perfect. but that would make /mnt/partion point to /tmp and everything you write there will be written to /mnt/partition. if that is bigger it will be done.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am in the initial stage of learning UNIX. I got PC with Intel SUN SOLARIS S/W. I am planning to install Oracle on the same machine. I have created /export with more than 3gb space, when I have installed the OS. As a Oracle user when I am trying to create a directory I am able to get only 512... (4 Replies)
Discussion started by: suraj
4 Replies
2. Filesystems, Disks and Memory
I have sun solaris 8 for intell with 128m physiccal ram and swap of 148. Oracle requires to have 512M swap space. Is there a way I can change the swap space on intell machine without repartioning the box:? what if i create a link to /swap from another place????
pls advise
Jigar (1 Reply)
Discussion started by: jigarlakhani
1 Replies
3. UNIX for Advanced & Expert Users
Over the last couple of days my laptop has been stalling terribly on bootup and when starting up applications (even a terminal takes ages to come up) Whilst trying to figure out whats happened I noticed that nothing is being swapped out. Output from top command shows that I have approx 500mb... (2 Replies)
Discussion started by: silvaman
2 Replies
4. Shell Programming and Scripting
Solved.... (1 Reply)
Discussion started by: redbeard_06
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I have a file containing a list of entries.
Want to do ls on them.
for a in `cat <list.txt>`; do ls $a; done;
Now some entries contain spaces.
How do i incorporate space in $a.
Quoting $a in "" doesn't help.
Thanks (6 Replies)
Discussion started by: vibhor_agarwali
6 Replies
6. UNIX for Advanced & Expert Users
Hy!
Recently i had a problem with one of mine Tru64 machines.
It started to kill processes because of low amount of swap space. It said that it went below 10 %.
But when i ran swapon -s it said:
In-use space: 12 %
So, the system couldn't accept any new ssh connections plus it killed most of... (1 Reply)
Discussion started by: veccinho
1 Replies
7. UNIX for Dummies Questions & Answers
I have a file which have 2 columns.
chris doc,male
test,female
So in order to store the content of the first column i am doing this :-
for line in $( cat $test.csv ); do
FIRST_COLUMN_VAR=$( echo $line | cut -d"," -f1 )
SECOND_COLUMN_VAR=$( echo $line | cut -d"," -f2 )
... (18 Replies)
Discussion started by: chris1234
18 Replies
8. What is on Your Mind?
I was looking at some Wikipedia articles on spacecrafts and robotic probes and found a reference of an OS named "VxWorks" which I have never heard of before; according to the article this OS has been used in a few NASA projects.
So now I'm wondering what OS flavor or branch all those amazing... (8 Replies)
Discussion started by: verdepollo
8 Replies
9. AIX
Hello everyone,
Sorry for my English but i'm French.
I have a problem on an AIX 5.3 server on the occupation of a file system.
When i run a df -m, this is what i get :
Filesystem MB blocks Free %Used Iused %Iused Mounted on
/dev/fslv09 3936.00 340.94 92% 7255 ... (8 Replies)
Discussion started by: Veis
8 Replies
LEARN ABOUT CENTOS
kpartx
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 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)