Sponsored Content
Top Forums UNIX for Dummies Questions & Answers increasing ufs file system size in solaris Post 91203 by Just Ice on Wednesday 30th of November 2005 12:25:19 PM
Old 11-30-2005
Code:
if the 2nd drive is empty or reconfigurable --- 

1. partition the 2nd drive into the setup you want to be the final layout

2. newfs all the new data partitions on the 2nd drive

3. copy all the data over from the 1st drive to it's new home on the 2nd drive


if you plan on booting up the 2nd drive as another boot device ---

1. install boot block on / partition of 2nd drive

2. edit /etc/vfstab on 2nd drive to reflect correct disk devices for mounting


if you plan on physically swapping drives ---

1. install boot block on / partition of 2nd drive

2. power off system, swap drives in slot0 and slot1, and boot

... for your first time doing this, i suggest you try to boot the 2nd drive as an alternate boot device as failure of that drive to boot means you missed a step and swapping drives will not make it work any better ...

anyways, i've found through the years that having the / filesystem include everything gave me much more flexibility than breaking out some of it's components --- i.e., the unused spaces in /home, /usr and /var are easily reclaimed if i need more space in /, i can create as many directories as i want without resorting to creative symlinks all over the place, etc. ...

however, there are times i'd at least want some of the sub-directories broken off --- i.e., /var should be it's own filesystem if there is a massive amount of system log activity or if the server is a mail server, /home should be it's own filesystem if you want to contain and enforce quotas on user data, etc.

you need to figure out how you folks want to support the server and how the server is going to be used in the long term so you'll know your better if you want to split out sub-directories into their own filesystems ...

for pointers on intra-disk copies see this script
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Size limitations with ufs/disk suite on Solaris 8?

I tried to build a 1.3 TB volume with disk suite, and recieved an error (don't remember the exact verbage, it was very late). It only built a 1 TB volume. newfs completed without error. I rebuilt the volume to be just under 1TB, and all was fine. Is there a limitation with disk suite, or ufs, that... (3 Replies)
Discussion started by: 98_1LE
3 Replies

2. UNIX for Dummies Questions & Answers

solaris File system question ( UFS )

Hello all, I'm ufs file system, how can u use the same disk in another machine with the data in tact? to make it clear, I've an ufs FS in a mount point /file1 ( 8GB). now they decide to reintall the OS. After the reinstall, how can i get the same data as it is? will mounting the disk as /file1... (3 Replies)
Discussion started by: i2admin
3 Replies

3. UNIX for Advanced & Expert Users

increasing file system

Hi, on /dev1 I have 50Gb, on /dev2 I have 5Gb. How can I give the 50Gb to /dev2 and give back 5Gb to /dev1. Many thanks. PS : OS is AIX (1 Reply)
Discussion started by: big123456
1 Replies

4. AIX

Increasing File Size on AIX

Hi I am a bit green to AIX - but when our backup operator tries to do a restore from one AIX box to another, he get's the error: 'A file cannot be larger than the value set by ulimit' I am wondering what is the impact of increasing the AIX filesize limit of 2 gb to unlimited. And how would... (1 Reply)
Discussion started by: Rosie C
1 Replies

5. Solaris

increase root file system size in solaris

Hi frnz, Need an urgent help... I have installed solaris 8 in a sunblade workstation with 136GB hdd. While installation it has taken a default filesystem size as 1.37GB for root. AFtr completing the installation i have extended the root partition to 130GB. But still df output shows... (4 Replies)
Discussion started by: sriram.s
4 Replies

6. Solaris

increasing file system size

Hi Can anyone explain me how to increase the filesystem size. We can do it when the system is running? It needs an reboot? (8 Replies)
Discussion started by: rogerben
8 Replies

7. Linux

Increasing total data size per file system request for block drivers

Hi All, I am writing a block driver for a 2GB SD card where i get the total amount of data per request as follows: struct request *req; uint card_addr,total_bytes; struct request_queue *rq = BlkDev->queue; req = elv_next_request(rq); .. .. card_addr = req->sector*512;... (1 Reply)
Discussion started by: amio
1 Replies

8. Solaris

Solaris Volume Manger - Database Replicas Question - Benefits of Increasing Default Size?

Hey all! I was hoping someone knew anything about this one... I know with Solaris Volume Manager the default Database Replica size is 8192 blocks (4MB approximately) Now I know you can increase this amount but is there any point? The reason I am asking this is that I've setup mirroring on... (2 Replies)
Discussion started by: Keepcase
2 Replies

9. Solaris

Help with increasing file system size in Sun OS 5.9

Hi, I have recently taken up to support these SunOS 5.9 sun4u sparc SUNW,Sun-Fire-V240 boxes and got a request to increase the size of /backup01 as its getting filled up quickly and can't play much on it as these are production servers. As I have no idea about how to do this, can anyone let me... (0 Replies)
Discussion started by: phanidhar6039
0 Replies

10. Solaris

Increase /tmp file system size dynamically in Solaris zone

Hi Please let me know how to increase the size of /tmp file system from 512m to 1024m dynamically without reboot in solaris zone # df -h Filesystem size used avail capacity Mounted on zones/zone1 11G 1.0G 10.0G 10% / /dev 11G 1.0G ... (6 Replies)
Discussion started by: sb200
6 Replies
SYSTEMD.SLICE(5)                                                   systemd.slice                                                  SYSTEMD.SLICE(5)

NAME
systemd.slice - Slice unit configuration SYNOPSIS
slice.slice DESCRIPTION
A unit configuration file whose name ends in ".slice" encodes information about a slice unit. A slice unit is a concept for hierarchically managing resources of a group of processes. This management is performed by creating a node in the Linux Control Group (cgroup) tree. Units that manage processes (primarily scope and service units) may be assigned to a specific slice. For each slice, certain resource limits may be set that apply to all processes of all units contained in that slice. Slices are organized hierarchically in a tree. The name of the slice encodes the location in the tree. The name consists of a dash-separated series of names, which describes the path to the slice from the root slice. The root slice is named -.slice. Example: foo-bar.slice is a slice that is located within foo.slice, which in turn is located in the root slice -.slice. Note that slice units cannot be templated, nor is possible to add multiple names to a slice unit by creating additional symlinks to its unit file. By default, service and scope units are placed in system.slice, virtual machines and containers registered with systemd-machined(1) are found in machine.slice, and user sessions handled by systemd-logind(1) in user.slice. See systemd.special(5) for more information. See systemd.unit(5) for the common options of all unit configuration files. The common configuration items are configured in the generic [Unit] and [Install] sections. The slice specific configuration options are configured in the [Slice] section. Currently, only generic resource control settings as described in systemd.resource-control(5) are allowed. See the New Control Group Interfaces[1] for an introduction on how to make use of slice units from programs. IMPLICIT DEPENDENCIES
The following dependencies are implicitly added: o Slice units automatically gain dependencies of type After= and Requires= on their immediate parent slice unit. DEFAULT DEPENDENCIES
The following dependencies are added unless DefaultDependencies=no is set: o Slice units will automatically have dependencies of type Conflicts= and Before= on shutdown.target. These ensure that slice units are removed prior to system shutdown. Only slice units involved with late system shutdown should disable DefaultDependencies= option. SEE ALSO
systemd(1), systemd.unit(5), systemd.resource-control(5), systemd.service(5), systemd.scope(5), systemd.special(7), systemd.directives(7) NOTES
1. New Control Group Interfaces https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface/ systemd 237 SYSTEMD.SLICE(5)
All times are GMT -4. The time now is 10:55 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy