среда сен 05, 2007
среда сен 05, 2007
воскресенье апр 22, 2007
Как вы, наверное, уже знаете, 20 апреля стал доступен для загрузки Solaris Express Community Release build 62.
Таким образом, все преимущества ZFS распространились и на корневую
файловую систему - теперь мы можем создавать снимки и клоны корневой
файловой системы, использовать любой из клонов корневой файловой
системы для загрузки. Созданные снимки можно использовать для
резервного копирования, и все это на лету - без перевода системы в
однопользовательский режим. ZFS следит за целостностью данных корневой
файловой системы, дубль-блоки обеспечивают возможность создания
избыточности данных даже на одном диске, возможность использования
сжатия позволяет экономить ограниченное дисковое пространство, а в
некоторых случаях и повышать производительность дисковой подсистемы.
Поэтому неудивительно, что первым делом я воспользовался этим на своем
ноутбуке:
bash-3.00# /usr/sbin/mount
/ on rootpool/rootfs read/write/setuid/devices/noatime/dev=2d90002 on Сб апр. 21 23:07:15 2007
/devices on /devices read/write/setuid/devices/dev=4440000 on Сб апр. 21 23:06:58 2007
/dev on /dev read/write/setuid/devices/dev=4480000 on Сб апр. 21 23:06:58 2007
/system/contract on ctfs read/write/setuid/devices/dev=44c0001 on Сб апр. 21 23:06:59 2007
/proc on proc read/write/setuid/devices/dev=4500000 on Сб апр. 21 23:06:59 2007
/etc/mnttab on mnttab read/write/setuid/devices/dev=4540001 on Сб апр. 21 23:06:59 2007
/etc/svc/volatile on swap read/write/setuid/devices/xattr/dev=4580001 on Сб апр. 21 23:06:59 2007
/system/object on objfs read/write/setuid/devices/dev=45c0001 on Сб апр. 21 23:06:59 2007
/lib/libc.so.1 on /usr/lib/libc/libc_hwcap1.so.1 read/write/setuid/devices/dev=2d90002 on Сб апр. 21 23:07:12 2007
/dev/fd on fd read/write/setuid/devices/dev=4740001 on Сб апр. 21 23:07:15 2007
/tmp on swap read/write/setuid/devices/xattr/dev=4580002 on Сб апр. 21 23:07:19 2007
/var/run on swap read/write/setuid/devices/xattr/dev=4580003 on Сб апр. 21 23:07:19 2007
/ufsroot
on /dev/dsk/c0d0s3
read/write/setuid/devices/intr/largefiles/logging/xattr/onerror=panic/dev=1980003
on Сб апр. 21 23:07:31 2007
/export/home on pool/home read/write/setuid/devices/exec/xattr/atime/dev=2d90003 on Сб апр. 21 23:07:31 2007
bash-3.00# zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
pool 27,2G 11,8G 15,5G 43% ONLINE -
rootpool 10G 4,33G 5,67G 43% ONLINE -
bash-3.00# zfs list -r rootpool
NAME USED AVAIL REFER MOUNTPOINT
rootpool 4,33G 5,51G 23,5K /rootpool
rootpool/rootfs 4,33G 5,51G 4,33G legacy
bash-3.00#
Пока
что у меня не включено сжатие на корневом пуле, не создано ни одного
клона или снимка, не включены дубль-блоки для наиболее ценных данных.
Все это - темы для следующих экспериментов.
Интеграция поддержки
загрузки с ZFS - это лишь первый шаг на пути к полноценной поддержке
использования ZFS в качестве корневой файловой системы. Следующими
шагами будут, как минимум, добавление поддержки загрузки с ZFS на
платформах SPARC, доработка инсталлятора для установки системы сразу же
на файловую систему ZFS, добавление поддержки ZFS в Live Upgrade
(который станет радикально проще в использовании).
Тем, кто захочет попробовать проделать это самостоятельно, рекомендую воспользоваться инструкцией или скриптом Тима Фостера
zfs-actual-root-install.sh
(см. также заметку ZFS Bootable datasets - happily rumbling).
Тем,
кто установке с диска предпочитает загрузку и установку из сети,
рекомендую обратить внимание на инструкцию по подготовке
инсталляционного сервера, которую, вместе со всем необходимым, можно
найти здесь.
Happy ZFS Booting!
[Read More]
понедельник апр 16, 2007
пятница ноя 24, 2006
Некоторое время назад мне пришлось столкнуться проблемой, состоящей в следующем. После перехода на Solaris 10, в работе системы печати стали наблюдаться сбои: после выполнения скрипта, принудительно завершающего работу процессов, запущенные от имени непривилегированного пользователя, стал перезапускаться весь сервис печати, а в некоторых случаях даже переходить в состояние "maintenance". При этом возникает два естественных вопроса:
среда ноя 08, 2006
понедельник окт 30, 2006
I'm very pleased to announce that 4th meeting of Moscow OpenSolaris User Group will take place on November 9th 2006 at Sun Microsystems office in Moscow. Fourth meeting will be devoted to DTrace.
Agenda:
18:30 - 19:00 Q&A session 19:00 - 19:05 OpenSolaris - what's new in October 19:10 - 20:10 Introduction to DTrace 20:15 - 21:00 DTrace Network Provider 21:00 - Q&A session
С удовольствием сообщаю, что четвертая встреча MOSUG состоится в четверг, 9 ноября в офисе Sun Microsystems и будет посвящена DTrace. Начало встречи в 18:30, начало выступлений в 19:00. Информацию о том, как добраться, можно найти на http://www.opensolaris.ru
Программа:
18:30 - 19:00 Вопросы и ответы 19:00 - 19:05 OpenSolaris - новости октября 19:10 - 20:10 Введение в DTrace 20:15 - 21:00 DTrace Network Provider 21:00 - Вопросы и ответы
Просьба всем, кто планирует принять участие, подтвердить это коротким письмом мне или оставить комментарий.
вторник сен 19, 2006
I'm happy to announce that the Third Moscow OpenSolaris User Group meeting will take place on 28th of September in the office of Sun Microsystems in Moscow. Alexander Kolbasov is going to talk on Performance/NUMA subjects.
Meeting will start at 18:30, the schedule is as follows:
18:30 - 19:00 Questions and Answers session 19:00 - ??:?? Performance/NUMA ??:?? - Questions and Answers session
пятница сен 08, 2006
Last night we had the second meeting of Moscow OpenSolaris User Group. It was devoted to ZFS. This was very exciting experience - lots of discussions, lots of questions. We spent more than three hour for this topic and could easily spend even more. We are going to return to some ZFS topics in future, e.g. ZFS Performance, ZFS and Zones, ZFS Administration. Probably we'll look into translating ZFS Admin Guide into Russian also.
I used almost the same slides as in previous presentaiton on ZFS. Those who could not attend may find slides here: ZFS - The Last Word In Filesystems (Russian)
Most probably we'll have one more meeting in September as Alexander Kolbasov is going to visit Moscow. Stay tuned!
пятница авг 18, 2006
Last Friday (11.08.2006) we had held First MOSUG meeting! We had 15 participants and two of us were participating from California over phone.
We had quickly reviewed first year of OpenSolaris project and had a talk about two books. Slides are available here.
After that we had a lively discussion about interesting topics for future meetings. Next meeting will most likely be devoted to ZFS. Other interesting topics include:
I hope we'll have next MOSUG meeting early in September (first thursday?). Most probably ZFS will be the main topic. Stay tuned!
среда авг 09, 2006
Three months after creation of Moscow OpenSolaris User Group we are going to have long overdue first meeting.
Here are the details for the meeting:
Topics: OpenSolaris - first year in review; Introduction of Solaris Internals II and Solaris Performance and Tools books
Date: 11th of Augut, 2006 18:30
Location: Sun's office in Moscow (directions)
Thoughts and comments are welcome, and otherwise, see you on August 11th! (oh, and tell your friends!)
On the 31st of July I ordered my copies of two excellent books:
I had been impatiently waiting for the books to arrive, had been frightened by a colleague from Logistics with difficulties I would have with customs and so on. Expected delivery time was August 9th 6:00PM so I was very surprised when I got a call from the reception on Monday, 7th of August that my books had been delivered and were waiting for me at the reception. No issues with customs, no delays and books are finally at my desk!
I had a chance to read parts of the first one in the draft form and I was very impressed. First edition of Solaris Internals was amazing and the second edition is going to be even more successful. It is a "must have" for anyone interested in Operating Systems in general and internal architecture of Solaris and OpenSolaris in particular.
Second one was a surprise for me and now I'm going through it.
I'm going to talk about these books during the coming MOSUG meeting.
Thanks Jim, Brendan and Richard for the enormous effort and a real masterpiece!
Less than a week ago I talked about ZFS during marketing seminar for partners. Although presentation was more techical and I was short on time, it was very well received. There were lots of questions I had no ready answers for. I will try to find answers for some of that questions so zfs-discuss is going to become busier in the coming weeks. I also promised to share my presentation (in russian) so to keep my word I'm putting a link to it here - ZFS - The Last Word In Filesystems (Russian)
During the Pavel Anni's talk it turned out that there were not much awareness about what is OpenSolaris, how it relates to Solaris, what is a purpose of OpenSolaris project etc etc etc. This is definitely needs to be fixed and I'm looking forward to speak about OpenSolaris during the next seminar for partners.