Гость
Целевая тема:
Создать новую тему:
Автор:
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / RAW SOLARIS 9 / 15 сообщений из 15, страница 1 из 1
15.01.2007, 16:35:39
    #34256370
bababeg
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
Уважаемы админы SOLARISа ....!

подскажите как вы используете
raw разделы дисков.

уточню вопрос сразу.

после установки нового диска и напускании devfsadm
система обнаружила восемь слайсов - 2ой - это я понимаю весь диск
пока не понимаю как его можно использовать.

но вот 0,1,3,4,5,6,7ой вроде как можно в solaris management console
указать размер .
видимо можно format'ом побить - я пока не дошел до этого


и как я понял ln -sf на какой нибудь raw.dbf
и на raw.dbf уже создавать табличные пространства
либо расширять существующие как alter tablespace add datafile ..... ну и так далее

а вот вопрос в том - можно ли увеличить количество дефолтных слайсов больше чем на 7
и есть ли в этом смысл

С уважением .... )
...
Рейтинг: 0 / 0
16.01.2007, 23:52:57
    #34260186
Scott Tiger
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
bababegсистема обнаружила восемь слайсов - 2ой - это я понимаю весь диск
пока не понимаю как его можно использовать.

Оставь его в покое.

bababegно вот 0,1,3,4,5,6,7ой вроде как можно в solaris management console
указать размер .
видимо можно format'ом побить

Да, можно.

bababegи как я понял ln -sf на какой нибудь raw.dbf
и на raw.dbf уже создавать табличные пространства
либо расширять существующие как alter tablespace add datafile ..... ну и так далее

Нет. Oracle с сырыми разделами ТАК работать не может. 1 раздел - один датафайл.

bababegа вот вопрос в том - можно ли увеличить количество дефолтных слайсов больше чем на 7

Нет. Используй Volume Manager.
...
Рейтинг: 0 / 0
17.01.2007, 11:01:00
    #34260865
begbaba
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
тогда вот такой примерчик. )))
пытаюсь заставить solaris работать с RAW устройствами в интересах дальнейшего использования в
ORACLE

после dd на этот слайс всё "летит"
не знаю где рыть
подскажет кто направление ))))))
с уважением

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
75.
76.
77.
78.
79.
80.
81.
82.
83.
84.
85.
86.
87.
88.
89.
90.
91.
92.
93.
94.
95.
96.
97.
98.
99.
100.
101.
102.
103.
104.
105.
106.
107.
108.
109.
110.
111.
112.
113.
114.
115.
116.
117.
118.
119.
120.
121.
122.
123.
124.
125.
126.
127.
128.
129.
130.
131.
132.
133.
134.
135.
136.
137.
138.
139.
140.
141.
142.
143.
144.
145.
146.
147.
148.
149.
150.
151.
152.
153.
154.
155.
156.
157.
158.
159.
160.
161.
162.
163.
164.
165.
166.
167.
168.
169.
170.
171.
172.
173.
174.
175.
176.
177.
178.
179.
180.
181.
182.
183.
184.
185.
186.
187.
188.
189.
190.
191.
192.
193.
194.
195.
196.
197.
198.
199.
200.
201.
202.
203.
204.
205.
206.
207.
208.
209.
210.
211.
212.
213.
214.
215.
216.
217.
218.
219.
220.
221.
222.
223.
224.
225.
226.
227.
228.
229.
230.
231.
232.
233.
234.
235.
236.
237.
238.
239.
240.
241.
242.
243.
244.
245.
246.
247.
248.
249.
250.
251.
252.
253.
254.
255.
256.
257.
258.
259.
260.
261.
262.
263.
264.
265.
266.
267.
268.
269.
270.
271.
272.
273.
274.
275.
276.
277.
278.
279.
280.
281.
282.
283.
284.
285.
286.
287.
288.
289.
290.
291.
292.
293.
294.
295.
296.
297.
298.
299.
300.
301.
302.
303.
304.
305.
306.
307.
308.
309.
310.
311.
312.
313.
314.
315.
316.
317.
318.
319.
320.
321.
322.
323.
324.
325.
326.
327.
328.
329.
330.
331.
332.
# format
Searching for disks...Jan  17   08 : 06 : 52  SUNos9 dada: WARNING: /pci@1f, 0 /pci@ 1 , 1 /ide@ 3 /dad@ 1 , 0  (dad1):
Jan  17   08 : 06 : 52  SUNos9      corrupt label - wrong magic number
Jan  17   08 : 06 : 52  SUNos9 dada: WARNING: /pci@1f, 0 /pci@ 1 , 1 /ide@ 3 /dad@ 1 , 0  (dad1):
Jan  17   08 : 06 : 52  SUNos9      corrupt label - wrong magic number
Jan  17   08 : 06 : 52  SUNos9 dada: WARNING: /pci@1f, 0 /pci@ 1 , 1 /ide@ 3 /dad@ 1 , 0  (dad1):
done


AVAILABLE DISK SELECTIONS:
        0 . c0t0d0 <ST39120A cyl  17660  alt  2  hd  16  sec  63 >
          /pci@1f, 0 /pci@ 1 , 1 /ide@ 3 /dad@ 0 , 0 
        1 . c0t1d0 <ST320011A cyl  38790  alt  2  hd  16  sec  63 >  dsk1
          /pci@1f, 0 /pci@ 1 , 1 /ide@ 3 /dad@ 1 , 0 
Specify disk (enter its number): Jan  17   08 : 06 : 52  SUNos9     corrupt label - wrong magic number
 1 
selecting c0t1d0: dsk1
[disk formatted, no defect list found]


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        show       - translate a disk address
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        volname    - set  8 -character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> p


PARTITION MENU:
         0       - change ` 0 ' partition
        1      - change `1' partition
         2       - change ` 2 ' partition
        3      - change `3' partition
         4       - change ` 4 ' partition
        5      - change `5' partition
         6       - change ` 6 ' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> p
Volume:  dsk1
Current partition table (original):
Total disk cylinders available:  38790  +  2  (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
   0  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   1  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   2      backup    wu        0  -  38789         18 .64GB    ( 38790 / 0 / 0 )  39100320 
   3  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   4  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   5  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   6  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   7  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 

partition> q


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        show       - translate a disk address
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        volname    - set  8 -character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> q
# format
Searching for disks...Jan  17   08 : 07 : 05  SUNos9 dada: WARNING: /pci@1f, 0 /pci@ 1 , 1 /ide@ 3 /dad@ 1 , 0  (dad1):
Jan  17   08 : 07 : 05  SUNos9      corrupt label - wrong magic number
Jan  17   08 : 07 : 05  SUNos9 dada: WARNING: /pci@1f, 0 /pci@ 1 , 1 /ide@ 3 /dad@ 1 , 0  (dad1):
Jan  17   08 : 07 : 05  SUNos9      corrupt label - wrong magic number
Jan  17   08 : 07 : 05  SUNos9 dada: WARNING: /pci@1f, 0 /pci@ 1 , 1 /ide@ 3 /dad@ 1 , 0  (dad1):
Jan  17   08 : 07 : 05  SUNos9      corrupt label - wrong magic number
done


AVAILABLE DISK SELECTIONS:
        0 . c0t0d0 <ST39120A cyl  17660  alt  2  hd  16  sec  63 >
          /pci@1f, 0 /pci@ 1 , 1 /ide@ 3 /dad@ 0 , 0 
        1 . c0t1d0 <ST320011A cyl  38790  alt  2  hd  16  sec  63 >  dsk1
          /pci@1f, 0 /pci@ 1 , 1 /ide@ 3 /dad@ 1 , 0 
Specify disk (enter its number):  1 
selecting c0t1d0: dsk1
[disk formatted, no defect list found]


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        show       - translate a disk address
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        volname    - set  8 -character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> p


PARTITION MENU:
         0       - change ` 0 ' partition
        1      - change `1' partition
         2       - change ` 2 ' partition
        3      - change `3' partition
         4       - change ` 4 ' partition
        5      - change `5' partition
         6       - change ` 6 ' partition
        7      - change `7' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition>  0 
Part      Tag    Flag     Cylinders         Size            Blocks
   0  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 

Enter partition id tag[unassigned]: ora
`ora' not expected.
Enter partition id tag[unassigned]: 
Enter partition permission flags[wm]: 
Enter new starting cyl[0]: 
Enter partition size[0b, 0c, 0e, 0.00mb, 0.00gb]: 20m
partition> l
Ready to label disk, continue? y

partition> p
Volume:  dsk1
Current partition table (unnamed):
Total disk cylinders available: 38790 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm       0 -    40       20.18MB    (41/0/0)       41328
  1 unassigned    wm       0                0         (0/0/0)            0
  2     backup    wu       0 - 38789       18.64GB    (38790/0/0) 39100320
  3 unassigned    wm       0                0         (0/0/0)            0
  4 unassigned    wm       0                0         (0/0/0)            0
  5 unassigned    wm       0                0         (0/0/0)            0
  6 unassigned    wm       0                0         (0/0/0)            0
  7 unassigned    wm       0                0         (0/0/0)            0

partition> q


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        show       - translate a disk address
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> q
# 



# mkdir -p oraraw



# ls -al /dev/rdsk/
total 58
drwxr-xr-x   2 root     sys          512 Dec 27 17:28 .
drwxr-xr-x  16 root     sys         3584 Jan  9 08:14 ..
lrwxrwxrwx   1 root     root          50 Oct  4 10:47 c0t0d0s0 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:a,raw
lrwxrwxrwx   1 root     root          50 Oct  4 10:47 c0t0d0s1 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:b,raw
lrwxrwxrwx   1 root     root          50 Oct  4 10:47 c0t0d0s2 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:c,raw
lrwxrwxrwx   1 root     root          50 Oct  4 10:47 c0t0d0s3 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:d,raw
lrwxrwxrwx   1 root     root          50 Oct  4 10:47 c0t0d0s4 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:e,raw
lrwxrwxrwx   1 root     root          50 Oct  4 10:47 c0t0d0s5 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:f,raw
lrwxrwxrwx   1 root     root          50 Oct  4 10:47 c0t0d0s6 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:g,raw
lrwxrwxrwx   1 root     root          50 Oct  4 10:47 c0t0d0s7 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@0,0:h,raw
lrwxrwxrwx   1 root     other         50 Dec 27 17:28 c0t1d0s0 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@1,0:a,raw
lrwxrwxrwx   1 root     other         50 Dec 27 17:28 c0t1d0s1 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@1,0:b,raw
lrwxrwxrwx   1 root     other         50 Dec 27 17:28 c0t1d0s2 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@1,0:c,raw
lrwxrwxrwx   1 root     other         50 Dec 27 17:28 c0t1d0s3 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@1,0:d,raw
lrwxrwxrwx   1 root     other         50 Dec 27 17:28 c0t1d0s4 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@1,0:e,raw
lrwxrwxrwx   1 root     other         50 Dec 27 17:28 c0t1d0s5 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@1,0:f,raw
lrwxrwxrwx   1 root     other         50 Dec 27 17:28 c0t1d0s6 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@1,0:g,raw
lrwxrwxrwx   1 root     other         50 Dec 27 17:28 c0t1d0s7 -> ../../devices/pci@1f,0/pci@1,1/ide@3/dad@1,0:h,raw
lrwxrwxrwx   1 root     root          49 Oct  4 10:47 c0t2d0s0 -> ../../devices/pci@1f,0/pci@1,1/ide@3/sd@2,0:a,raw
lrwxrwxrwx   1 root     root          49 Oct  4 10:47 c0t2d0s1 -> ../../devices/pci@1f,0/pci@1,1/ide@3/sd@2,0:b,raw
lrwxrwxrwx   1 root     root          49 Oct  4 10:47 c0t2d0s2 -> ../../devices/pci@1f,0/pci@1,1/ide@3/sd@2,0:c,raw
lrwxrwxrwx   1 root     root          49 Oct  4 10:47 c0t2d0s3 -> ../../devices/pci@1f,0/pci@1,1/ide@3/sd@2,0:d,raw
lrwxrwxrwx   1 root     root          49 Oct  4 10:47 c0t2d0s4 -> ../../devices/pci@1f,0/pci@1,1/ide@3/sd@2,0:e,raw
lrwxrwxrwx   1 root     root          49 Oct  4 10:47 c0t2d0s5 -> ../../devices/pci@1f,0/pci@1,1/ide@3/sd@2,0:f,raw
lrwxrwxrwx   1 root     root          49 Oct  4 10:47 c0t2d0s6 -> ../../devices/pci@1f,0/pci@1,1/ide@3/sd@2,0:g,raw
lrwxrwxrwx   1 root     root          49 Oct  4 10:47 c0t2d0s7 -> ../../devices/pci@1f,0/pci@1,1/ide@3/sd@2,0:h,raw
# pwd
/export/home/IX/oraraw
# ln -sf /dev/rdsk/c0t1d0s0 raw.dbf
# ls -al
total 6
drwxr-xr-x   2 root     other        512 Jan 17 08:20 .
drwxrwxrwx   8 root     other        512 Jan 17 08:18 ..
lrwxrwxrwx   1 root     other         18 Jan 17 08:20 raw.dbf -> /dev/rdsk/c0t1d0s0


# dd if=/dev/zero of=/export/home/IX/oraraw/raw.dbf count=10
10+0 records in
10+0 records out



# dd if=/dev/zero of=/export/home/IX/oraraw/raw.dbf count=10 skip=1000
Jan 17 08:24:31 SUNos9 dada: WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1):
dd: /export/home/IX/oraraw/raw.dbf: open: I/O error
# Jan 17 08:24:31 SUNos9    corrupt label - wrong magic number



# format
Searching for disks...Jan 17 08:24:52 SUNos9 dada: WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1):
Jan 17 08:24:52 SUNos9      corrupt label - wrong magic number
Jan 17 08:24:52 SUNos9 dada: WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1):
Jan 17 08:24:52 SUNos9      corrupt label - wrong magic number
done


AVAILABLE DISK SELECTIONS:
       0. c0t0d0 <ST39120A cyl 17660 alt 2 hd 16 sec 63>
          /pci@1f,0/pci@1,1/ide@3/dad@0,0
       1. c0t1d0 <ST320011A cyl 38790 alt 2 hd 16 sec 63>  dsk1
          /pci@1f,0/pci@1,1/ide@3/dad@1,0
Specify disk (enter its number): Jan 17 08:24:52 SUNos9 dada: WARNING: /pci@1f,0/pci@1,1/ide@3/dad@1,0 (dad1):
Jan 17 08:24:52 SUNos9      corrupt label - wrong magic number
1
selecting c0t1d0: dsk1
[disk formatted, no defect list found]


FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        show       - translate a disk address
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        save       - save new disk/partition definitions
        volname    - set 8-character volume name
        !<cmd>     - execute <cmd>, then return
        quit
format> p


PARTITION MENU:
        0      - change `0' partition
         1       - change ` 1 ' partition
        2      - change `2' partition
         3       - change ` 3 ' partition
        4      - change `4' partition
         5       - change ` 5 ' partition
        6      - change `6' partition
         7       - change ` 7 ' partition
        select - select a predefined table
        modify - modify a predefined partition table
        name   - name the current table
        print  - display the current table
        label  - write partition map and label to the disk
        !<cmd> - execute <cmd>, then return
        quit
partition> p
Volume:  dsk1
Current partition table (original):
Total disk cylinders available:  38790  +  2  (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
   0  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   1  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   2      backup    wu        0  -  38789         18 .64GB    ( 38790 / 0 / 0 )  39100320 
   3  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   4  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   5  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   6  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   7  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 






...
Рейтинг: 0 / 0
17.01.2007, 11:21:19
    #34260962
begbaba
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
пропустил при создании слайса 10 циллиндров - заработало.
буду искать инфо по разметке диска ( где лежит VTOC (volume table of contents) )
...
Рейтинг: 0 / 0
17.01.2007, 11:22:25
    #34260969
mozheyko_d
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
А кто Вас научил так делать?
Код: plaintext
1.
2.
3.
...
dd if=/dev/zero of=/export/home/IX/oraraw/raw.dbf count= 10 
...


Почитали бы что-нибудь сначала...
...
Рейтинг: 0 / 0
17.01.2007, 12:26:40
    #34261273
begbaba
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
mozheyko_dА кто Вас научил так делать?
Код: plaintext
1.
2.
3.
...
dd if=/dev/zero of=/export/home/IX/oraraw/raw.dbf count= 10 
...


Почитали бы что-нибудь сначала...


дядя!
спасибо!
но лучше б ты сказал что в том что у меня неверно.

а то мы слепенькие читаем плохо плохо.
а сцылок я тебе накидаю немеряно ( если хочешь )
прифет.
...
Рейтинг: 0 / 0
17.01.2007, 12:33:17
    #34261296
begbaba
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
mozheyko_dА кто Вас научил так делать?
Код: plaintext
1.
2.
3.
...
dd if=/dev/zero of=/export/home/IX/oraraw/raw.dbf count= 10 
...


Почитали бы что-нибудь сначала...


особо ценна дата этого мануала

30 Apr 96

минуло 10 лет
...
Рейтинг: 0 / 0
17.01.2007, 13:14:16
    #34261499
mozheyko_d
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
begbaba mozheyko_dА кто Вас научил так делать?
Код: plaintext
1.
2.
3.
...
dd if=/dev/zero of=/export/home/IX/oraraw/raw.dbf count= 10 
...


Почитали бы что-нибудь сначала...


дядя!
спасибо!
но лучше б ты сказал что в том что у меня неверно.


Ну неясно зачем ты нулями слайс заполняешь, зачем ссылку делаешь raw.dbf

begbaba
а то мы слепенькие читаем плохо плохо.
...


Это заметно, но скорее всего придётся учиться.
...
Рейтинг: 0 / 0
17.01.2007, 13:39:32
    #34261631
begbaba
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
mozheyko_d[quot begbaba][quot mozheyko_d]А кто Вас научил так делать?


Ну неясно зачем ты нулями слайс заполняешь, зачем ссылку делаешь raw.dbf




дядя твое мнение ОСОБЕННО неинтересно )
-------------------------------------------------------


итак - тестирование производительности
raw устройств
и файловых систем

на ULTRA 10

вывод таков что , что raw много медленнее как по записи , так и по чтению
для этой платформы ?

кто в теме .....))
спасибо за компетентное мнение )))

особо интересно кто пользует ORACLE на solaris sparc 64 bit

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
Part      Tag    Flag     Cylinders         Size            Blocks
   0  unassigned    wm        1  -   2030        999 .14MB    ( 2030 / 0 / 0 )    2046240 
   1  unassigned    wm     2031  -   4060        999 .14MB    ( 2030 / 0 / 0 )    2046240 
   2      backup    wu        0  -  38789         18 .64GB    ( 38790 / 0 / 0 )  39100320 
   3  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   4  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   5  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   6  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   7  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 



# newfs /dev/rdsk/c0t1d0s0
newfs: construct a new file system /dev/rdsk/c0t1d0s0: (y/n)? y
/dev/rdsk/c0t1d0s0:      2046240  sectors in  2030  cylinders of  16  tracks,  63  sectors
         999 .1MB in  127  cyl groups ( 16  c/g,  7 .88MB/g,  3776  i/g)
super-block backups (for fsck -F ufs -o b=#) at:
  32 ,  16224 ,  32416 ,  48608 ,  64800 ,  80992 ,  97184 ,  113376 ,  129568 ,  145760 ,
  1887328 ,  1903520 ,  1919712 ,  1935904 ,  1952096 ,  1968288 ,  1984480 ,  2000672 ,
  2016864 ,  2033056 ,



# mkdir -p orafs
# mount /dev/dsk/c0t1d0s0 /export/home/IX/orafs/




# timex dd count= 1000000  bs= 512  if=/dev/zero of=/export/home/IX/orafs/speedtestdd.out
 1000000 + 0  records in
 1000000 + 0  records out

real        42 . 90 
user         3 . 93 
sys         37 . 96 


# timex dd count= 1000000  bs= 512  of=/dev/null if=/export/home/IX/orafs/speedtestdd.out
 1000000 + 0  records in
 1000000 + 0  records out

real        35 . 81 
user         3 . 50 
sys         20 . 04 








# timex dd count= 1000000  bs= 512  if=/dev/zero of=/export/home/IX/oraraw/raw.dbf
 1000000 + 0  records in
 1000000 + 0  records out

real      2 : 58 . 36 
user         5 . 37 
sys       1 : 05 . 76 


# timex dd count= 1000000  bs= 512  of=/dev/null if=/export/home/IX/oraraw/raw.dbf
 1000000 + 0  records in
 1000000 + 0  records out

real      3 : 37 . 76 
user         5 . 68 
sys         58 . 29 





...
Рейтинг: 0 / 0
17.01.2007, 22:55:48
    #34263156
Scott Tiger
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
Аффтар, убей сибя апстену.

...'Cause there's nothin' strange about an axe with bloodstains in the barn,
There's always some killin' you got to do around the farm...
...
Рейтинг: 0 / 0
18.01.2007, 14:32:48
    #34265091
bababeg
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
Scott TigerАффтар, убей сибя апстену.

...'Cause there's nothin' strange about an axe with bloodstains in the barn,
There's always some killin' you got to do around the farm...


выполнено
пазитиф
...
Рейтинг: 0 / 0
18.01.2007, 15:17:56
    #34265333
bababeg
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
Scott TigerАффтар, убей сибя апстену.

...'Cause there's nothin' strange about an axe with bloodstains in the barn,
There's always some killin' you got to do around the farm...



с сильным опозданием но полностью так

No SUN comin' through my WINDOWS
Feel like I'm livin' at the bottom of a grave
No SUN comin' through my WINDOWS
Feel like I'm livin' at the bottom of a grave
I wish you'd hurry up and execute me
so I can be on my miserable way
...
Рейтинг: 0 / 0
24.01.2007, 10:02:59
    #34277377
sergkosko
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
begbaba mozheyko_d[quot begbaba][quot mozheyko_d]А кто Вас научил так делать?


Ну неясно зачем ты нулями слайс заполняешь, зачем ссылку делаешь raw.dbf




дядя твое мнение ОСОБЕННО неинтересно )
-------------------------------------------------------


итак - тестирование производительности
raw устройств
и файловых систем

на ULTRA 10

вывод таков что , что raw много медленнее как по записи , так и по чтению
для этой платформы ?

кто в теме .....))
спасибо за компетентное мнение )))

особо интересно кто пользует ORACLE на solaris sparc 64 bit

Код: plaintext
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
60.
61.
62.
63.
64.
65.
66.
67.
68.
69.
70.
71.
72.
73.
74.
Part      Tag    Flag     Cylinders         Size            Blocks
   0  unassigned    wm        1  -   2030        999 .14MB    ( 2030 / 0 / 0 )    2046240 
   1  unassigned    wm     2031  -   4060        999 .14MB    ( 2030 / 0 / 0 )    2046240 
   2      backup    wu        0  -  38789         18 .64GB    ( 38790 / 0 / 0 )  39100320 
   3  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   4  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   5  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   6  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 
   7  unassigned    wm        0                  0          ( 0 / 0 / 0 )             0 



# newfs /dev/rdsk/c0t1d0s0
newfs: construct a new file system /dev/rdsk/c0t1d0s0: (y/n)? y
/dev/rdsk/c0t1d0s0:      2046240  sectors in  2030  cylinders of  16  tracks,  63  sectors
         999 .1MB in  127  cyl groups ( 16  c/g,  7 .88MB/g,  3776  i/g)
super-block backups (for fsck -F ufs -o b=#) at:
  32 ,  16224 ,  32416 ,  48608 ,  64800 ,  80992 ,  97184 ,  113376 ,  129568 ,  145760 ,
  1887328 ,  1903520 ,  1919712 ,  1935904 ,  1952096 ,  1968288 ,  1984480 ,  2000672 ,
  2016864 ,  2033056 ,



# mkdir -p orafs
# mount /dev/dsk/c0t1d0s0 /export/home/IX/orafs/




# timex dd count= 1000000  bs= 512  if=/dev/zero of=/export/home/IX/orafs/speedtestdd.out
 1000000 + 0  records in
 1000000 + 0  records out

real        42 . 90 
user         3 . 93 
sys         37 . 96 


# timex dd count= 1000000  bs= 512  of=/dev/null if=/export/home/IX/orafs/speedtestdd.out
 1000000 + 0  records in
 1000000 + 0  records out

real        35 . 81 
user         3 . 50 
sys         20 . 04 








# timex dd count= 1000000  bs= 512  if=/dev/zero of=/export/home/IX/oraraw/raw.dbf
 1000000 + 0  records in
 1000000 + 0  records out

real      2 : 58 . 36 
user         5 . 37 
sys       1 : 05 . 76 


# timex dd count= 1000000  bs= 512  of=/dev/null if=/export/home/IX/oraraw/raw.dbf
 1000000 + 0  records in
 1000000 + 0  records out

real      3 : 37 . 76 
user         5 . 68 
sys         58 . 29 







Раз уш мы тут апсушдаем мой любимый SUN-Oracle
свои 5 копейка ...
имхо тесты несовсем адекватные ...

Я бы добавил сюда ещё
тест для ФС с опцией forcedirectio - таки у вас солярис 9 ?
и померял dd с разным размером bs= ( думаю можно попробовать 33 байта , 512 байт , 1к ,8к и скажем 1024к ... или сколько там maxphys будет

и в другом окошке командочку :
$iostat -zxnpcC 1

скока тама операций IO? %b? %W? svct?
...
Рейтинг: 0 / 0
24.01.2007, 23:51:07
    #34280415
Scott Tiger
Участник
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
bababeg Scott TigerАффтар, убей сибя апстену.

...\'Cause there\'s nothin\' strange about an axe with bloodstains in the barn,
There\'s always some killin\' you got to do around the farm...



с сильным опозданием но полностью так

No SUN comin\' through my WINDOWS
Feel like I\'m livin\' at the bottom of a grave
No SUN comin\' through my WINDOWS
Feel like I\'m livin\' at the bottom of a grave
I wish you\'d hurry up and execute me
so I can be on my miserable way

Баяните, батенька. /topic/30667
...
Рейтинг: 0 / 0
25.01.2007, 15:07:23
    #34282264
bababeg
Гость
Скрыть профиль Поместить в игнор-лист Сообщения автора в теме
RAW SOLARIS 9
Scott Tiger bababeg Scott TigerАффтар, убей сибя апстену.

...\'Cause there\'s nothin\' strange about an axe with bloodstains in the barn,
There\'s always some killin\' you got to do around the farm...



с сильным опозданием но полностью так

No SUN comin\' through my WINDOWS
Feel like I\'m livin\' at the bottom of a grave
No SUN comin\' through my WINDOWS
Feel like I\'m livin\' at the bottom of a grave
I wish you\'d hurry up and execute me
so I can be on my miserable way

Баяните, батенька. /topic/30667


вот после того поста и решил почитать как же там было ... ))))
советом про убей навеяло ...)))
успехов!!!!
...
Рейтинг: 0 / 0
Форумы / Unix-системы [игнор отключен] [закрыт для гостей] / RAW SOLARIS 9 / 15 сообщений из 15, страница 1 из 1
Найденые пользователи ...
Разблокировать пользователей ...
Читали форум (0):
Пользователи онлайн (0):
x
x
Закрыть


Просмотр
0 / 0
Close
Debug Console [Select Text]