Sponsored Content
Full Discussion: Partitions.
Top Forums UNIX for Dummies Questions & Answers Partitions. Post 302503475 by Corona688 on Thursday 10th of March 2011 04:30:11 PM
Old 03-10-2011
Quote:
Originally Posted by rama krishna
You have the above mentioned partitions but as per my knowledge we can just have seven slices in a disk.
Maybe that's true for SPARC based systems, I don't know. Mine is a PC system with an old-fashioned MS-DOS boot sector. That only supports 4 partitions, but any of those can be an "extended" partition that holds other partitions. Like so:
Code:
If that's the case how can we accommodate all the above mount points.[/QUOTE]$ fdisk -l /dev/sdc

Disk /dev/sdc: 163.9 GB, 163928604672 bytes
16 heads, 63 sectors/track, 317632 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x73ee210d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1         131       65992+  83  Linux
/dev/sdc2             132        1172      524664   82  Linux swap / Solaris
/dev/sdc3            1173        3254     1049328   83  Linux
/dev/sdc4            3255      317632   158446512    5  Extended
/dev/sdc5            3255       44865    20971912+  83  Linux
/dev/sdc6           44866       65671    10486192+  83  Linux
/dev/sdc7           65672       77504     5963800+  83  Linux
/dev/sdc8           77505      317632   121024480+  83  Linux

$

Partitions 1 through 3 are regular partitions. Partition 4, the very last partition I'd be able to fit in the table, is an "extended" partition which holds other partitions: sdc5, sdc6, sdc7, and sdc8 actually reside inside it.

This is architecture-specific and OS-specific, don't try fdisk on a solaris system -- it's either absent or something completely different.

What isn't OS and PC specific is what you can do with the partitions once they've been made: Attach them wherever you want in your file tree.

Last edited by Corona688; 03-10-2011 at 05:36 PM..
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

raw partitions

i want to know, how do i to create a rwa partttions in unixware 7 wit raid 5 best regards felix arteaga (1 Reply)
Discussion started by: farteaga
1 Replies

2. UNIX for Advanced & Expert Users

partitions

HI. i installed solaris on a x86 machine and i only partition for 4 gig when it suppose to be 8. i only using 4 gig right now how can i start using the other four. please help, thanks in advance Meeh (2 Replies)
Discussion started by: souldier
2 Replies

3. Shell Programming and Scripting

Monitoring partitions

I have a partition that sometimes grows to 100% before the weekly backup and perge can happen. Can someone leade me to a script that will monitor the size of a partition and send me an email when it is over a certain percent? Unix Solarus 8. Thanks (1 Reply)
Discussion started by: PrimeRibAndADew
1 Replies

4. UNIX for Dummies Questions & Answers

Monitoring partitions

Sun Solarus 8. I have a partition that due to some automated processes can fill a partition to 100% before the weekly backup and cleanup process happens. Is there a way I can monitor a partition and send a page or email if the partition gets above 85% full? (2 Replies)
Discussion started by: PrimeRibAndADew
2 Replies

5. UNIX for Dummies Questions & Answers

unix partitions

how to access/sliceing different partions using divvy (1 Reply)
Discussion started by: sobin
1 Replies

6. AIX

Logical Partitions?

I'm trying to find out how many logical partitions our AIX box has. I'm running the command: topas -C and nothing is showing up. Is it safe to say that there is only one LPAR, which is what AIX is installed on? Move to AIX - jim mc (2 Replies)
Discussion started by: NycUnxer
2 Replies

7. Solaris

Problems with partitions

Hi. I newbie in solaris. I have server T2000 with 2 disk on raid. I have partitions: Part Tag Flag Cylinders Size Blocks 0 root wm 825 - 3916 15.00GB (3092/0/0) 31464192 1 swap wu 0 - 824 4.00GB ... (6 Replies)
Discussion started by: burdock
6 Replies

8. UNIX for Advanced & Expert Users

Partitions

Hello masters, Actually, i am user of Ubuntu, but I want to use Debian too. I have a computer with a product key for w7 so i will use too, only for games... The structure I have thought is the next with 1TiB of capacity. Primary: 50 GB NTFS for W7 Extended: Logical: 20 GB FAT32... (3 Replies)
Discussion started by: albertogarcia
3 Replies

9. Solaris

Create new partitions

Hello, Can someone tell me why should i do to resolve this problem? I cant creat the news partitions!! # /etc/init.d/volmgt start volume management starting. # format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c0d0 <DEFAULT cyl 1955 alt 2 hd 255 sec 63> ... (5 Replies)
Discussion started by: herbich1985
5 Replies

10. Red Hat

Partitions necessary in RHEL 6

I had a query as to what are the partitions that should be necessary in RHEL 6. My knowledge says that 1) / 2) /home 3) Swap 4) /boot should be sufficient. But, I am seeing in my production environment which is RHEL 5 that there are partitions also for 1) /var 2) /tmp... (8 Replies)
Discussion started by: RHCE
8 Replies
PARTX(8)						       System Administration							  PARTX(8)

NAME
partx - tell the kernel about the presence and numbering of on-disk partitions SYNOPSIS
partx [-a|-d|-P|-r|-s|-u] [-t type] [-n M:N] [-] disk partx [-a|-d|-P|-r|-s|-u] [-t type] partition [disk] DESCRIPTION
Given a device or disk-image, partx tries to parse the partition table and list its contents. It can also tell the kernel to add or remove partitions from its bookkeeping. The disk argument is optional when a partition argument is provided. To force scanning a partition as if it were a whole disk (for example to list nested subpartitions), use the argument "-" (hyphen-minus). For example: partx --show - /dev/sda3 This will see sda3 as a whole-disk rather than as a partition. partx is not an fdisk program - adding and removing partitions does not change the disk, it just tells the kernel about the presence and numbering of on-disk partitions. OPTIONS
-a, --add Add the specified partitions, or read the disk and add all partitions. -b, --bytes Print the SIZE column in bytes rather than in human-readable format. -d, --delete Delete the specified partitions or all partitions. -g, --noheadings Do not print a header line with --show or --raw. -l, --list List the partitions. Note that all numbers are in 512-byte sectors. This output format is DEPRECATED in favour of --show. Do not use it in newly written scripts. -n, --nr M:N Specify the range of partitions. For backward compatibility also the format M-N is supported. The range may contain negative num- bers, for example --nr -1:-1 means the last partition, and --nr -2:-1 means the last two partitions. Supported range specifications are: M Specifies just one partition (e.g. --nr 3). M: Specifies the lower limit only (e.g. --nr 2:). :N Specifies the upper limit only (e.g. --nr :4). M:N Specifies the lower and upper limits (e.g. --nr 2:4). -o, --output list Define the output columns to use for --show, --pairs and --raw output. If no output arrangement is specified, then a default set is used. Use --help to get list of all supported columns. This option cannot be combined with the --add, --delete, --update or --list options. -P, --pairs List the partitions using the KEY="value" format. -r, --raw List the partitions using the raw output format. -s, --show List the partitions. The output columns can be selected and rearranged with the --output option. All numbers (except SIZE) are in 512-byte sectors. -t, --type type Specify the partition table type. --list-types List supported partition types and exit. -u, --update Update the specified partitions. -S, --sector-size size Overwrite default sector size. -v, --verbose Verbose mode. -V, --version Display version information and exit. -h, --help Display help text and exit. EXAMPLES
partx --show /dev/sdb3 partx --show --nr 3 /dev/sdb partx --show /dev/sdb3 /dev/sdb All three commands list partition 3 of /dev/sdb. partx --show - /dev/sdb3 Lists all subpartitions on /dev/sdb3 (the device is used as whole-disk). partx -o START -g --nr 5 /dev/sdb Prints the start sector of partition 5 on /dev/sdb without header. partx -o SECTORS,SIZE /dev/sda5 /dev/sda Lists the length in sectors and human-readable size of partition 5 on /dev/sda. partx --add --nr 3:5 /dev/sdd Adds all available partitions from 3 to 5 (inclusive) on /dev/sdd. partx -d --nr :-1 /dev/sdd Removes the last partition on /dev/sdd. SEE ALSO
addpart(8), delpart(8), fdisk(8), parted(8), partprobe(8) AUTHORS
Davidlohr Bueso <dave@gnu.org> Karel Zak <kzak@redhat.com> The original version was written by Andries E. Brouwer <aeb@cwi.nl>. ENVIRONMENT
LIBBLKID_DEBUG=all enables libblkid debug output. AVAILABILITY
The partx command is part of the util-linux package and is available from Linux Kernel Archive <https://www.kernel.org/pub/linux/utils /util-linux/>. util-linux December 2014 PARTX(8)
All times are GMT -4. The time now is 08:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy