一、掛載磁盤(根目錄下mnt)
[root@iZ23wmewzdwZ ~]# cd /
[root@iZ23wmewzdwZ /]# cd mnt/
[root@iZ23wmewzdwZ mnt]# fdisk -ldocker
Disk /dev/xvda: 21.5 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00078f9capp
Device Boot Start End Blocks Id System
/dev/xvda1 * 1 2611 20970496 83 Linuxide
Disk /dev/xvdb: 53.7 GB, 53687091200 bytes
255 heads, 63 sectors/track, 6527 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000svn
Disk /dev/mapper/docker-202:1-789308-pool: 107.4 GB, 107374182400 bytes
255 heads, 63 sectors/track, 13054 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 65536 bytes
Disk identifier: 0x00000000spa
[root@iZ23wmewzdwZ mnt]# mount /dev/xvdb /mnt/
[root@iZ23wmewzdwZ mnt]# cd /mnt/
[root@iZ23wmewzdwZ mnt]# ls
lost+found svnit
二、啓動SVN
[root@iZ23wmewzdwZ svn]# svnserve -d -r /mnt/svnmap
三、查看是否啓動
[root@iZ23wmewzdwZ svn]# ps aux | grep svn
root 2019 0.0 0.0 156540 760 ? Ss 11:53 0:00 svnserve -d -r /mnt/svngrep