摘要: #!/usr/bin/env python3 l1 = ['1','2','3','4'] l2 = ['3','4','5','6']# 交集 result1 = [i for i in l1 if i in l2] result2 = list(set(l1).intersection(set(l2))) print(result1) print(result2) # 并集 result... 阅读全文
posted @ 2019-04-12 17:02 MauriceWei 阅读(7861) 评论(0) 推荐(0)
摘要: raid0: 多块盘同时进行读写; 优点是读写效率高,缺点是没有数据冗余; 最少需要两块盘。 raid1: 将数据盘都做镜像; 优点是有数据冗余;缺点是读写效率低,磁盘利用率低; 最少需要两块盘。 raid3: 一块盘单独做奇偶校验盘,其余盘做raid0; 优点是读写效率高,一定程度上提供数据冗余, 阅读全文
posted @ 2019-04-12 14:29 MauriceWei 阅读(966) 评论(0) 推荐(0)