10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Good Morning,
What's a good way to get partition/slice sizes down to the byte on Solaris 9? I've tried a few ways, but only see results like 8.21GB which rounds the number.
Thanks! (5 Replies)
Discussion started by: Stellaman1977
5 Replies
2. UNIX for Dummies Questions & Answers
Hello All,
I'm having trouble finding info on how to convert sector size (*if that's really what i want to do?) to something easier to understand.
I'm trying to copy the MBR from a bootable SD Card to another SD Card or image file, but I'm not sure what I should use in my dd command since I'm... (17 Replies)
Discussion started by: mrm5102
17 Replies
3. Shell Programming and Scripting
Hi
I'm doing some resilience testing and need to write a script to consume all of the available disk space on a partition and then to free it up again.
This would need to be -
Safe
Dynamic, in that it calculates the free space prior to consuming it.
I might want to go on to consume a... (7 Replies)
Discussion started by: bbq
7 Replies
4. Linux
Hi OS Experts
I would like to increase root partition from another partition so that I can save more documents in Home and Desktop. whether it is possible without formating root partition if so please explain
here is o/p of df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda9... (8 Replies)
Discussion started by: Akshay Hegde
8 Replies
5. Shell Programming and Scripting
Hi Folks,
I am trying to make a script to assign all diskspace to slice 0, on multiple sized disks. Since the disks are new they may need to be labelled also to avoid the error: Cannot get disk geometry
Below is my code struggling with logic which doesn't seem to be producing the desired... (0 Replies)
Discussion started by: momin
0 Replies
6. UNIX for Dummies Questions & Answers
hi
My System is Sun Microsystems Inc. SunOS 5.10 Solaris
Partition Info is
/dev/vx/dsk/bootdg/var
27G 25G 1.2G 96% /var
/dev/vx/dsk/bootdg/oravol
110G 54G 56G 49% /export/home
I want to shift space 20G from /export/home to /var
What should be the command ?? (2 Replies)
Discussion started by: kaushik02018
2 Replies
7. UNIX for Dummies Questions & Answers
Hi,
On one of our solaris servers, the root partition has filled up,(it was poorly sized in the first place), Does anyone have any advice about the best way to add space to a partition. I'm sure I've read how to do this somewhere before but just can't remember...:(
A colleague has suggested... (1 Reply)
Discussion started by: kenny123m
1 Replies
8. Shell Programming and Scripting
Hello,
I am trying to monitor disk space for each node on the machine. I am able to get all individual nodes but for the '/' node. For example:
df -k:
bash-2.05b# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/xxx 4127108 2415340 1502120 62% /
/dev/yyy ... (3 Replies)
Discussion started by: chiru_h
3 Replies
9. UNIX for Advanced & Expert Users
How can I move some space allocated to one partition to another,
i.e. from "/var" to "/" .
Thanks! (4 Replies)
Discussion started by: jason6792
4 Replies
10. UNIX for Dummies Questions & Answers
first of all, sorry about my english...I´m a spanish newbie to this marvelous OS and i have just a couple of doubts...u know? :-)
1) how big should my swap partition be if i installed debian 2.2r3 or FreeBSD 4.x on a AMD k7 1400Mhz with 512Mb of Random Access Memory?
i heard that those OS... (1 Reply)
Discussion started by: I[X]ION
1 Replies
MMLS(1) General Commands Manual MMLS(1)
NAME
mmls - Display the partition layout of a volume system (partition tables)
SYNOPSIS
mmls [-t mmtype ] [-o offset ] [ -i imgtype ] [-b dev_sector_size] [-BrvV] [-aAmM] image [images]
DESCRIPTION
mmls displays the layout of the partitions in a volume system, which include partition tables and disk labels.
ARGUMENTS
-t mmtype
Specify the media management type. Use '-t list' to list the supported types. If not given, autodetection methods are used.
-o offset
Specify the offset into the image where the volume containing the partition system starts. The relative offset of the partition
system will be added to this value.
-b dev_sector_size
The size, in bytes, of the underlying device sectors. If not given, the value in the image format is used (if it exists) or
512-bytes is assumed.
-i imgtype
Identify the type of image file, such as raw or split. If not given, autodetection methods are used.
-B Include a column with the partition sizes in bytes
-r Recurse into DOS partitions and look for other partition tables. This setup frequently occurs when Unix is installed on x86 sys-
tems.
-v Verbose output of debugging statements to stderr
-V Display version
-a Show allocated volumes
-A Show unallocated volumes
-m Show metadata volumes
-M Hide metadata volumes
image [images]
One (or more if split) disk images whose format is given with '-i'.
'mmls' is similar to 'fdisk -lu' in Linux with a few differences. Namely, it will show which sectors are not being used so that those can
be searched for hidden data. It also gives the length value so that it can be plugged into 'dd' more easily for extracting the partitions.
It also will show BSD disk labels for Free, Open, and NetBSD and will display the output in sectors and not cylinders. Lastly, it works on
non-Linux systems.
If none of -a, -A, -m, or -M are given then all volume types will be listed. If any of them are given, then only the types specified on
the command line will be listed.
Allocated volumes are those that are listed in a partition table in the volume system AND can store data. Unallocated volumes are virtu-
ally created by mmls to show you which sectors have not been allocated to a volume. The metadata volumes overlap the allocated and unallo-
cated volumes and describe where the partition tables and other metadata structures are located. In some volume systems, these structures
are in allocated space and in others they are in unallocated space. In some volume systems, their location is explicitly given in the par-
tition tables and in others they are not.
EXAMPLES
To list the partition table of a Windows system using autodetect:
# mmls disk_image.dd
To list the contents of a BSD system that starts in sector 12345 of a split image:
# mmls -t bsd -o 12345 -i split disk-1.dd disk-2.dd
AUTHOR
Brian Carrier <carrier at sleuthkit dot org>
MMLS(1)