03-02-2013
I vote for not having a /opt partition because binaries are in /usr and /opt.
But that means you must have a much bigger / partition, I suggest 40 GB
But I vote for either a 25 GB /var or a 20 GB /var/tmp partition (BTW the same size for /tmp),
it contains variable data and should not fill up /.
What speaks for /var/tmp (if not sym-linked to /tmp):
syslog and monitoring tools like HP-OVO need to log a disk full condition in /var. Again this means a +5 GB for the / partition.
Last edited by MadeInGermany; 03-02-2013 at 02:33 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
How do I get a partition magic disk or a disk to create a non-DOS partition?
:*: c0ldzer0 :*: (4 Replies)
Discussion started by: c0ldzer0
4 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
While my LINUX SERVER installed we didnt' used all the space for partitions. with what tool I can create a new partition or mount point to use the free space.
I tried the command fdisk and diskdruid. They are not working.
Thanks in advance
With Best regards,
Varma. (2 Replies)
Discussion started by: jarkvarma
2 Replies
3. Solaris
Have a solaris x86 running solaris 9.
Root disk - logical - mirrored.
I added 2 more disks today - and I have mirrored them using array configuration utility.
I did a reconfiguration boot - and now I can see the logical disk using format:
I then partitioned this the way I wanted (I hope)... (4 Replies)
Discussion started by: frustrated1
4 Replies
4. Solaris
I have 3 disks to partition in following file system.
c1t1d0 = 72gb
/prod1
/prod2
/prod3
/prod4
/prod5
I am first time using "format" command to do this. How can i name with specified size.
-Adeel (1 Reply)
Discussion started by: deal732
1 Replies
5. UNIX for Advanced & Expert Users
hi guys,
I've got a strange issue, may be one of you has experienced this.
SunOS 5.10 Generic_118833-33 sun4u sparc SUNW,Sun-Fire-V440
everything is mirrored.
My issue is that I have a umpty directory but seems to have data on. Let me show you
# df -h /data
Filesystem size used... (10 Replies)
Discussion started by: moustik
10 Replies
6. Filesystems, Disks and Memory
Hi,
Can I partition disk in use or would I damage the file store on it?
Regards
Mehrdad (1 Reply)
Discussion started by: mehrdad68
1 Replies
7. Solaris
Hi,
The disks of my servers are getting full and I need to move the /export/home partition on to a new set of disks. I already have 2 mirrored disks and have added 2 more and mirrored them after creating the filesystem on them.
Do I just need to edit the /etc/vfstab and point the /export/home... (1 Reply)
Discussion started by: run_time_error
1 Replies
8. UNIX for Advanced & Expert Users
I want to backup my partitions by shrinking it my issue is like
I want to create a new disk copy from only the used blocks I my current image.
How would I redirect the output of resize2fs to new disk and dd the current
partition so that I can boot my new image without issues and also without... (3 Replies)
Discussion started by: amol28kulkarni
3 Replies
9. Red Hat
I want to skip the first cylinder (first 1 MB infact) while I partition my disk using fdisk as it is required that the disk partition to be used (for Oracle RAC Installation) must skip the first 1Mb to avoid overwriting the disk VTOC. The way I am using is:
Command (m for help): n
Command... (2 Replies)
Discussion started by: jpsingh
2 Replies
10. Solaris
Hi Guys,
when performing a disk partition, can any file system other than root be giving to slice 0 or must slice0 hold only root? I am confused about this.
Any clarification will be greatly appreciated.
Thanks Guys (4 Replies)
Discussion started by: cjashu
4 Replies
LEARN ABOUT DEBIAN
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 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)