Changes

From SME Server
Jump to navigationJump to search
m
no edit summary
Line 55: Line 55:  
  md: bind<cciss/c0d0p2>
 
  md: bind<cciss/c0d0p2>
   −
This tells me that I currently have 2 active partitions, p1 & p2, on drive c0d0 (controller 0, disk 0); if a secondary controller was added or used it would therefore be c1d0 (controller 1, disk 0).
+
This tells me that I currently have 2 active partitions, p1 & p2, on drive c0d0 (controller 0, disk 0); if a secondary disk is added or used it would therfore be c0d1 (controller 0, disk 1); if another SCSI controller is added or used it would therefore be c1d0 (controller 1, disk 0).
   −
Logically my new drive should be on c0d1, & the linux device file to match should be in /dev/cciss, so:
+
Logically my new drive should be on c0d1 (controller 0, disk 1), & the linux device file to match should be in /dev/cciss, so:
    
  fdisk /dev/cciss/c0d1 (use ? or m to get help)
 
  fdisk /dev/cciss/c0d1 (use ? or m to get help)
   −
Follow the prompts to add a Linux partition
+
Follow the prompts to add a Linux partition, I usuallu add a primary partition using the full capacity of the drive.
    
Use the w key to write the partiton table & exit from fdisk
 
Use the w key to write the partiton table & exit from fdisk
Line 121: Line 121:  
If you don't see a line for /dev/cciss/c0d1p1, something went wrong.
 
If you don't see a line for /dev/cciss/c0d1p1, something went wrong.
 
<br>Go back to step 2 and check if you followed all instructions correctly.
 
<br>Go back to step 2 and check if you followed all instructions correctly.
 +
 +
3.4 Create Quota files
 +
 +
As we enabled quotas in the fstab file for this drive we now need to create data files for the quota system to use
 +
 +
quotacheck -cug /mnt/backupdrive
 +
 +
now run the following to generate up to date quota values for the files on the filesystem
 +
 +
quotacheck -cug /mnt/backupdrive
 +
    
We're all done, enjoy!
 
We're all done, enjoy!
Line 130: Line 141:     
To fix this issue I needed to create the folder /var/lib/rrd/drive_cciss/ & then restart Sysmon, the c0d1p1.rrd then magically appears in this folder.
 
To fix this issue I needed to create the folder /var/lib/rrd/drive_cciss/ & then restart Sysmon, the c0d1p1.rrd then magically appears in this folder.
 +
 +
This applies regardless of whether Sysmon is installed before or after the extra disk is added.
 
----
 
----
 
[[Category:Howto]]
 
[[Category:Howto]]
19

edits

Navigation menu