10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
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
2. UNIX for Dummies Questions & Answers
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
3. Shell Programming and Scripting
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 -
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
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
5. Shell Programming and Scripting
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
6. UNIX for Dummies Questions & Answers
My System is Sun Microsystems Inc. SunOS 5.10 Solaris
Partition Info is
27G 25G 1.2G 96% /var
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
7. Red Hat
Dear Friends ,
I am using Redhat Ent Linux 5.0 with a EMC storage which HDD space is 4 TB. After Installing RHEL 5 , I get 4 TB space available but when I am going to create a partition then the OS show 2TB available space . I cannot create a partition above 2TB space . Is there any limitation... (3 Replies)
Discussion started by: shipon_97
8. UNIX for Dummies Questions & Answers
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
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
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
FDISK(8) System Manager's Manual FDISK(8)
fdisk - partition a hard disk [IBM]
fdisk [-hm] [-sn] [file]
-h Number of disk heads is m
-s Number of sectors per track is n
fdisk /dev/hd0 # Examine disk partitions
fdisk -h9 /dev/hd0 # Examine disk with 9 heads
When fdisk starts up, it reads in the partition table and displays it. It then presents a menu to allow the user to modify partitions,
store the partition table on a file, or load it from a file. Partitions can be marked as MINIX, DOS or other, as well as active or not.
Using fdisk is self-explanatory. However, be aware that repartitioning a disk will cause information on it to be lost. Rebooting the sys-
tem immediately is mandatory after changing partition sizes and parameters. MINIX, XENIX, PC-IX, and MS-DOS all have different partition
numbering schemes. Thus when using multiple systems on the same disk, be careful.
Note that MINIX, unlike MS-DOS , cannot access the last sector in a partition with an odd number of sectors. The reason that odd partition
sizes do not cause a problem with MS-DOS is that MS-DOS allocates disk space in units of 512-byte sectors, whereas MINIX uses 1K blocks.
Fdisk has a variety of other features that can be seen by typing h.
Fdisk normally knows the geometry of the device by asking the driver. You can use the -h and -s options to override the numbers found.