02-08-2007
Hey,
you're sure you take partition number 2 or partition 2 (number 1)?
Remember - partition 2 is the whole disk, don't change this partition!!
Changing partitions is easy:
format -> partition -> number of partition
set new values
when ready take a look with print partition table,
the label the disk.
After quit the format program, construct new filesystems
on your new partitions and mount them. Don't forget the /etc/vfstab
CU
lowbyte
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I got a FAT partition mounted as /mnt, as I believed you only can mount partitions when they are formated, but when I want to copy a file to the /mnt partition I only get errors...should I format it or do I have to change settings?
I only can work through the "WebMin" (a GREAT TOOL!) cause I'm... (2 Replies)
Discussion started by: NaRtHeXs
2 Replies
2. Filesystems, Disks and Memory
hi all, i was wondering if i have some volume manager and i want to format all partitions/disks and re-create new slices can i use regular format command or what?
i think veritas volume manager is already installed. (2 Replies)
Discussion started by: Bashar
2 Replies
3. Solaris
Hi,
Anyone know if I have a mount point /data , can it turn on compression
like what the MS Windows does ????
Thanks (2 Replies)
Discussion started by: civic2005
2 Replies
4. UNIX for Advanced & Expert Users
I m using solaris 8. I have some free space on my hard disk. I want to merge that space into /export/home. Please tell me complete procedure for doing it. (7 Replies)
Discussion started by: mansoorulhaq
7 Replies
5. Linux
hi friends
one week ago, i have installed fedoa 9 on my home pc.
i already have windows xp on that machine.
unfortunately my windows xp has corrupted.
again i want to install windows xp but it is not installing.
will i format my linux partition or some other option is there.
please help me... (0 Replies)
Discussion started by: praneshmishra08
0 Replies
6. Red Hat
Dear all!
I'm reading to install Oracle 10g using ASM in single Database on RHEL 5.
The only one hard-disk was 320gb on this machine, so, I just want to device the un-formatted disk into 4 raws device.
http://gi132.photobucket.com/groups/q34/Q42288CMBQ/1.jpg
... (2 Replies)
Discussion started by: trantuananh24hg
2 Replies
7. Solaris
hi all
while formatting hard disk i am getting following error.
Partition 1 ends at 266338338
It must be between 34 and 143374704.
label error: EFI Labels do not support overlapping partitions
Partition 8 overlaps partition 1.
Warning: error writing EFI.
Label failed.
I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies
8. Filesystems, Disks and Memory
I tried in fedora 9 to format a partition with FAT32 or NTFS but failed
mkfs -t NTFS /dev/sdb3
mkfs -t FAT32 /dev/sdb3
In both the output says the the device isn't present.
the output is something like this:
mkfs.FAT32: no device present
mkfs.NTFS: no device present
I am able to format in... (2 Replies)
Discussion started by: ravisingh
2 Replies
9. Solaris
Greetings!
After block level migration using an external appliance, the luns are getting reported as DGC-RAID5 and these luns are infact from the new storage. I have a query on changing the device Vendor info from DGC-RAID5 to HP3par in the format o/p only.
AVAILABLE DISK SELECTIONS:
... (3 Replies)
Discussion started by: n_Bhaskar
3 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)