Changes
From SME Server
Jump to navigation
Jump to search
← Older edit
Talk:BackupPC
(view source)
Revision as of 05:53, 17 September 2022
967 bytes added
,
05:53, 17 September 2022
no edit summary
Line 30:
Line 30:
ok i will do it [[User:Stephdl|Stephdl]] ([[User talk:Stephdl|talk]]) 08:15, 2 February 2013 (MST)
ok i will do it [[User:Stephdl|Stephdl]] ([[User talk:Stephdl|talk]]) 08:15, 2 February 2013 (MST)
+
+
[[bugzilla:7281]]
+
+
== create mirror raid for backuppc ==
+
+
create partition for disk 1
+
fdisk /dev/sdb
+
n
+
p
+
1
+
#enter
+
#enter
+
p
+
w
+
+
create partition for disk 2
+
fdisk /dev/sdd
+
n
+
p
+
1
+
#enter
+
#enter
+
p
+
w
+
+
create array
+
mdadm --create /dev/md20 --level=1 --raid-devices=2 /dev/sdb1 /dev/sdd1
+
y
+
+
create partition
+
mkfs.xfs -L BACKUPPC /dev/md20
+
+
create target
+
mkdir -p /var/lib/BackupPC
+
+
then add it to /etc/fstab
+
LABEL=BACKUPPC /var/lib/BackupPC xfs noatime,auto 0 2
+
+
== create mirror rair for large disks >2TB for backuppc ==
+
<syntaxhighlight lang="bash">
+
parted /dev/sdc
+
mklabel gpt
+
unit TB
+
mkpart primary 0.00TB 100%
+
print
+
quit
+
+
parted /dev/sdd
+
mklabel gpt
+
unit TB
+
mkpart primary 0.00TB 100%
+
print
+
quit
+
+
mdadm --create /dev/md20 --level=1 --raid-devices=2 /dev/sdc1 /dev/sdd1
+
y
+
+
mkfs.xfs -L BACKUPPC /dev/md20
+
+
mkdir -p /var/lib/BackupPC
+
+
echo 'LABEL=BACKUPPC /var/lib/BackupPC xfs noatime,auto 0 2' >>/etc/fstab
+
</syntaxhighlight>
Unnilennium
Super Admin, Wiki & Docs Team,
Bureaucrats
,
Interface administrators
,
Administrators
3,250
edits
Navigation menu
Page actions
Page
Discussion
View source
History
Page actions
Page
Discussion
More
Tools
In other languages
Personal tools
English
Log in
Koozali SME Server
Main Page
Welcome
Releases
Testimonials
Documentation
SME Server FAQ
Volunteering
Commercial Support
Recent activities
Dashboard
Recent wiki changes
Recent bug changes
Unread Forum posts
Koozali resources
Contribs
How-To's
Forums
Bugzilla
Mailing Lists
Translations
Download
Koozali SME Server wiki
Wiki statistics
Wiki categories
Wiki Help
Koozali Wiki Help
Tools
Special pages
Printable version
Search