Archive for the tag 'disk'

Rvskin Manager installation - disk space usage issue.

During the installation of Rvskin Manager, when creating the settings in the Features List, the following error appears:

“Sorry,your disk space usage is full.” , even if the disk size is not full.

Solution

The issue might be due to the incorrect permissions or attributes of files/folders in ‘/home’, which cannot write file in your home directory.

You need to set the ownership of “rvadmin” properly. That is, /home/rvadmin.

chown rvadmin.rvadmin rvadmin

This should fix the issue.

SBDavid

Initial RAM disk image ( initrd )

Initial RAM disk image ( initrd )

Once the second stage boot loader has determined which kernel to boot, it locates the corresponding kernel binary in the /boot/ directory. The proper binary is the /boot/vmlinuz-2.6.x-xx file that corresponds to the boot loader’s settings.

Next the boot loader places the appropriate initial RAM disk image, called an initrd, into memory. The initrd is used by the kernel to load any drivers not compiled into it that are necessary to boot the system. This is particularly important if you have SCSI hard drives or are using the ext3 file system.

What is the difference between Domain disk space and Hard disk quota?

Domain disk space - a calculation of everything the domain uses disk space for i.e. web, mail, databases, etc.
Hard disk quota - a calculation of disk space used by a domains ftp user account i.e. web files.

Domain disk space
This is how much disk space is used by the entire domain. It is made up of Plesk statistics and includes the amount of disk space taken by web pages, mail accounts, databases and other domain data including options specified in the statistic settings on Server -> Server preferences page in the Plesk CP.

Hard disk quota
Is a file system feature that limits how much disk space can be taken by the files which are owned by a specific system account (either domain FTP user or webuser or subdomain FTP user).

This file system quota cannot be exceeded. If the limit is reached, the system user will not be able to create new files and will receive the error “no more space left on device”.

Reference : http://parallels.com

Disk Quota Problems with Parallels Pro Control Panel

dmesg and /var/log/messages show the following messages.

kernel: VFS: Can’t read quota structure for id 32048.
kernel: VFS: Quota for id 32049 referenced but not present.

This can happen due to a server crash when the filesystems are not unmounted properly, causing the filesystem and quota information to go out of sync.

To fix this run the following commands:

quotaoff -a
quotacheck -agmi
quotacheck -aumi
quotaon -a

quotacheck Scan a filesystem for disk usage, create, check and repair quota files

In Freebsd we are using the utility “sysinstall” for this purpose. Sysinstall is used for installation and configuration in the Freebsd. It’s GUI based tool in console. We can invoke the tool by typing sysinstall in the shell.

$ sysinstall

Freebsd uses the term “slice” for partitions. Before going to partitioning the disk let us be familiar with the disk device codes used in Freebsd. For ATAPI (IDE) disk the code “ad” is used and for SCSI disk we use the code “da”.

For example,

first IDE disk ———- ad0
second IDE disk ———- ad1

first SCSI disk ———- da0
second SCSI disk ———- da1

Each disk is divided into slices and each slice in further divided into partitions. The naming convention of slice is s1, s2, s3…. etc.. We are using letters a to h to designate partitions in the slice.

All together, we refer a partition by listing the disk code followed by slice number followed by partition letter.

For example,

ad1s3d — The forth partition in the third slice in the second IDE disk.

After invoking the sysinstall move to Configure >> Fdisk in the menu.

sysinstall >> Configure >> Fdisk

Once we get in to to the fdisk we are provided with a menu from where we can select the available disks in the system. We can use the navigate keys and tab to move through the options , space bar and return key for selecting the options. Select the new disk and click OK to continue. We then get into fdisk editor where we type A for selecting the entire disk for using with the freebsd.Then type W for writing the changes we are made. Type q to quit from the fdisk. We may get a Boot manager menu, where we choose “none” and select OK.

After selecting the disk we need to partition it. For this we need to invoke the “FreeBSD Disk Label Editor” via sysinstall >> Configure >> label in the menu.

sysinstall >> Configure >> label

Once we get into into label menu we need to create partition by typing C after selecting the appropriate slice. We then get a dialog box where we can specify the size of the partition. After specifying the size, a prompt, asking whether the partition to contain a file system or a swap space, will appear. We select the file system and press enter. Then a prompt for mount point will appear, where we specify the mount point. Type W to write the partition information in the disk and then type Q to quit from the Disk label editor.

We need to edit the /etc/fstab and issue “mount -a” to mount the newly partitioned disk

« Prev - Next »